~/talk

Taming C++23 - The Things About C++23 You Do Not Know

Talkat ACCU on Sea 2026 · 2026-06-17..06-20· [c-and-cpp]
slides:none on file

C++23 details: MDspan in GCC16 brings multidimensional spans with variadic subscript and stride/column/left layouts; std::print and std::generator land; std::expected offers typed error payloads (e.g. std::exception_ptr) as a lightweight alternative to exceptions; new container from_range constructors plus ranges/views (stride, zip) enable patterns like partitioning work into three threads via stride and sorting parallel arrays by zipping references. Watch for pitfalls: initializer-list vs iterator constructor ambiguity and begin/sentinel mismatches with certain view chains; deducing this collapses duplicated overloads and enables clean recursive lambdas.

AI-written summary · about

  1. 0:00C++23 surprises intro
  2. 2:07Multi-dimensional span
  3. 18:50Error handling with expected
  4. 31:20Q&A on expected/optional
  5. 38:53New range utilities
  6. 59:45View categories overview
  7. 1:01:53Stride view for parallel
  8. 1:07:20Zip view for collections
  9. 1:11:02Out with braces
  10. 1:16:07Deducing this for members
  11. 1:24:00Recursive lambdas with deducing this
  12. 1:29:45Closing remarks
~/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.