C++23: An Overview of Almost All New and Updated Features
Talkat CppCon 2023 · on Thursday, 2023-10-05· at 16:45· Adams, 6700 North Gaylord Rockies Boulevard·
summary
Overview lists concrete language and library changes and concrete effects: std::print / std::println replaces verbose formatting and claims an order‑of‑magnitude speedup over iostreams; import std provides a named module for the standard library; new types include std::expected, mdspan for multi‑dimensional views, std::generator, flat_map/flat_set, and stacktrace; features include deducing this, if consteval, multidimensional operator[], std::unreachable and assume; garbage‑collection support is removed. Examples and performance tradeoffs are demonstrated and shown to compile.
AI-written summary · about
chapters (28)
- 0:00Intro
- 0:29Who am I
- 1:01Agenda
- 2:09Explicit Object Parameters
- 7:11IfConEval
- 8:51ConEval
- 9:55Multidimensional subscript operators
- 10:37Attributes on Lambda Expressions
- 11:54Integ literals
- 13:15Decay copy
- 14:28Preprocessor macros
- 15:01AS unreachable
- 16:27AS assumptions
- 17:30Unicode characters
- 18:37Empty space
- 23:16C23 introduced modules
- 24:41New containers
- 26:11MD Span
- 27:35Generator
- 28:38Contains
- 29:20Runtime Behavior
- 29:42Resize
- 33:04montic operations
- 36:16stack trace
- 37:56ranges
- 52:02example
- 52:45swap
- 54:26Heterogeneous lookup








