~/talk

Three Cool Things in C++26: Safety, Reflection & std::execution

Talkat C++ on Sea 2025 · 2025-06-23..06-25· [c-and-cpp]
slides:none on file

C++26 makes three concrete shifts: it defines erroneous behavior so uninitialized local variables either terminate or get detected by default with an opt‑in [[indeterminate]] to restore UB; it standardizes hardened standard library bounds checks (Google reports deployment across hundreds of millions of LOC with ~0.3% overhead and 1000+ bugs found) and formalizes trivial relocation for faster moves; and it adds compile-time reflection plus splicing (seven papers adopted, Clang/EDG prototypes and CPPFront demos on Godbolt already generate code and emit files today), and a std::execution async model with sender/receiver and thread‑pool primitives.

AI-written summary · about

  1. 0:00Introduction
  2. 2:52C++26 safety features
  3. 13:28Hardened library and bounds checks
  4. 16:03Trivial relocation
  5. 21:24Reflection in C++26
  6. 39:22Reflection demos
  7. 50:34Reflection future
  8. 1:03:34std::execution model
  9. 1:09:12Summary
~/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.