Skip to content
Programming Blog
Programming for Programmer References
MENU
  • Privacy Policy
Homepage / Ranges

Tag: Ranges

c++20-ranges,-projections,-std::invoke-and-if-constexpr

C++20 Ranges, Projections, std::invoke and if constexpr

By administratorPosted on October 26, 2020

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

increased-complexity-of-c++20-range-algorithms-declarations-–-is-it-worth?

Increased Complexity of C++20 Range Algorithms Declarations – Is It Worth?

By administratorPosted on October 12, 2020

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

In codes we trust - so with God - All rights reserved © 2021.