Sentinels and Concepts with Ranges Algorithms
/
0 Comments
The ranges library in C++20 supports sentinels. Sentinels stand for the end of a range and can be regarded…
Projections with Ranges
The algorithms of the ranges library are lazy, can work directly on the container, and can easily be…
The Ranges Library in C++20: More Details
Working with the Standard Template Library (STL) is much more comfortable and powerful thanks to the…
Check Types with Concepts
Concepts are a powerful and elegant tool to check at compile time if a type fulfills. Thanks to static_assert,…
Check Types with Concepts – The Motivation
static_assert allows you to check at compile time if a type T fulfills the Concept: static_assert(Concept<T>).
Before…