Posts

constexpr

constexpr and consteval Functions in C++20

/
With C++20, constexpr became way more powerful. Additionally, we have  consteval functions in C++20…
constexpr

constexpr Functions

/
Today, I continue my story about programming at compile time. After template metaprogramming, the type-traits…
TimelineCpp20CoreLanguage

constexpr std::vector and std::string in C++20

/
Probably the most viral keyword in modern C++ is constexpr. With C++20, we have a constexpr std::vector…
TimelineCpp20CoreLanguage

volatile and Other Small Improvements in C++20

/
Today, I complete my tour through the C++20 core language features with a few small improvements. One…
TimelineCpp20Core

C++ 20: The Core Language

/
My last post C++20: The Big Four started with an overview of concepts, ranges, coroutines, and modules.…
constexpr

C++ Core Guidelines: Programming at Compile Time with constexpr

/
My mini-series about programming at compile time started with template metaprogramming, continued with…
CharakteristikeImmutableDataEng

Immutable Data

/
A key to purely functional languages is that their data are immutable. Therefore, assignments such as…
constexpr11

constexpr Functions

/
constexpr functions are functions that can be executed at compile time. Sounds not so thrilling. But…
userdefinedTypes

constexpr – Variables and Objects

/
If you declare a variable as constexpr the compiler will evaluate them at compile time. This holds not…
userdefinedLiteralsConstexprResult

Constant Expressions with constexpr

/
You can define with the keyword constexpr an expression that can be evaluated at compile time. constexpr…