Agenda: C++: News Until C++20 (2025-05-14 - 2025-05-15)#
Training Goal/Style#
The audience consists of professional programmers who are not new to C++. As such, rather than reinforcing each topic through exercises, it is more important to discuss matters and to develop a common knowledge and a common sense.
Throughout the training, the presentation style will be live-coding-by-trainer, only falling back to a traditional frontal presentation style where applicable. The audience will be left with a screenplay-like writeup, much like this one.
constexpr
, and the C++20 consteval
and constinit
#
From The constexpr Engine
Concepts (a.k.a. “Template error messages are a PITA”)#
From Concepts
Local variables in if
and for
statements#
Lambdas#
From Lambda
Attributes#
Spaceship Operator#
Modules#
Leider nein
News From The Standard Library#
From Ranges And Views
std::format
: Pythonicity never stopsstd::span
: the problems it solves, and usage
Optional Content From Past C++ Versions#
If the situation wants it, we can look over material that predates C++20, such as:
You can always browse all material - but be warned, it is rather unstructured.