Continuing the topic from last week, let’s dive into the topic of std::invoke. This helper template function helps with uniform syntax call for various callable object types and can greatly reduce the complexity of our generic code. Read Full
Tag: Ranges
Increased Complexity of C++20 Range Algorithms Declarations – Is It Worth?
With the addition of Ranges and Concepts in C++20, our good old algorithm interfaces got super long “rangified” versions. For example, copy is now 4 lines long… and it’s just the declaration! template requires std::indirectly_copyable constexpr ranges::copy_result Read Full