
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…

Using Requires Expression in C++20 as a Standalone Feature
In my last post "Defining Concepts with Requires Expressions", I exemplified how you can use requires…

Defining Concepts with Requires Expressions
In my last post, "Define Concepts", I defined the concepts Integral, SignedIntegral, and UnsigendIntegral…
C++ 20 Techniques for Algorithmic Trading
Why do the biggest and most profitable trading firms use C++? In this webinar we will address this question…

Define Concepts
There are two ways to define a concept: You can combine existing concepts and compile-time predicates,…

Type Erasure
Type erasure based on templates is a pretty sophisticated technique. It bridges dynamic polymorphism…