Being introduced to C20, ranges changed the way we write code. C23 not only brings with it a large pile of new utilities but actually introduces a fundamental change to one of the core concepts in the ranges world - the view.
Absurd as it sounds, views can now also own their elements while still being cheap to pass around. This talk will explain how that works as well as describe the most useful algorithms and adaptors we can now take advantage of, like using std::generator
to implement range adaptors, printing ranges, or even using the new std::optional
monadic interface.