~/talk

How C++23 Changes the Way We Write Code

Talkat CppCon 2022 · 2022-09-11..09-16· [c-and-cpp]
links:none on file
slides:none on file

C++23 claims to finish C++20 while adding workaday wins: it standardizes std::expected error-or-value monad for composable, non‑exception short‑circuiting across APIs; it ships std::mdspan non‑owning multi‑dim arrays with customizable layouts and example implementations that compile and run; it introduces deducing this eliminates CRTP boilerplate enabling a single template member, clearer recursive lambdas, and fewer overloads; and it adds std::print uses std::format and OS terminal APIs so formatted and Unicode output just works on supported compilers.

AI-written summary · about

  1. 0:00Introduction
  2. 7:35Why C++23 features matter
  3. 17:04Deducing this feature
  4. 37:02std::expected for error handling
  5. 54:17mdspan for arrays
  6. 1:15:37std::print for output
  7. 1:24:47Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.