~/talk

What’s New in C++23

Talkat CppCon 2022 · 2022-09-11..09-16· [rust]
name:Sy Brand
slides:none on file

Shows concrete C++23 additions and how they behave: std::generator yields an easy coroutine-based infinite sequence, deducing this collapses four boilerplate overloads into one template for value / move semantics, and std::print plus range formatting prints containers directly. Demonstrations build a treat-distribution pipeline using std::views::chunk, zip, cartesian_product and std::ranges::to into containers, swap-endian with std::byteswap, mdspan for 3D boxes, out_ptr for C APIs, and measures when things actually improve cache or fail.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46Meet the cats
  3. 3:40Ranges for treats
  4. 6:30Range adapters
  5. 8:42Point-free style
  6. 10:27Zip and join
  7. 12:12Flat map lookups
  8. 13:55Cartesian product
  9. 14:37Monadic interface
  10. 17:47Deducing this
  11. 26:22Generator coroutines
  12. 29:58C API wrappers
  13. 33:25Out pointers
  14. 35:10Move-only functions
  15. 37:18Switch and unreachable
  16. 38:42Multi-dimensional spans
  17. 40:49Byte swapping
  18. 42:58OStream span
  19. 44:25Stack traces
  20. 47:17Iota view
  21. 49:26Modules with import
  22. 50:30Other C++23 features
  23. 51:32Q&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.