~/talk

How C++23 changes the way we write code

Talkat NDC TechTown 2022 · 2022-08-29..09-01· [c-and-cpp]
links:none on file
slides:none on file

C++23 adds concrete tools that change code: deducing this replaces boilerplate CRTP and four const/ref overloads by letting member functions take the actual derived type (one implementation instead of four); std::expected returns value-or-error so happy paths stay allocation-free while preserving specific error info instead of optional or exceptions; std::mdspan gives non‑owning multi‑dimensional views with layout_right/layout_left and pluggable layouts/accessors (Hilbert mapping, atomic accessors); std::print provides safe, fast Unicode-capable formatting and a printline convenience that replaces awkward iostream idioms.

AI-written summary · about

  1. 0:00Introduction
  2. 9:49Deducing this impact
  3. 22:05Expected error handling
  4. 34:23MD span for arrays
  5. 48:20Print and hello world
  6. 57:34Q&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.