8 More C++23 Examples -- Bartlomiej Filipek
In this article, you’ll see eight larger examples that illustrate the changes in C++23.
8 More C++23 Examples
by Bartlomiej Filipek
From the article:
C++23 brings a ton of cool features, as you can see in my two previous articles (here and here). So far, we explored each new addition one by one, but I’d like to share more examples that combine multiple features.
Here we go:
1.
std::ranges::to<>The
ranges::to<>feature allows you to convert ranges into containers easily:


When tasked with diagnosing why a pointer passed through a pipeline emerged offset from its original value, I discovered an interesting culprit: the misuse of a wrapper function around
Back in the day, being a witch was considered a grave crime. Today, we’re diving into one of C++’s lesser-known spells: ADL (Argument-Dependent Lookup).
The C++20 standard introduced a specialization of