~/talk

C++20 - the hidden pearls

Talkat Meeting C++ 2021 · 2021-11-10..11-12· [rust]
slides:none on file

The talk lists concrete, usable C++20 changes: the three-way (spaceship) operator lets the compiler auto-generate all six comparisons; consteval/constinit force compile-time init or immediate functions; std::span (dynamic extent) gives bounds-aware views of contiguous memory; chrono gains calendar and time zone types (the presenter spent ~80 pages on it); std::format offers Python-like formatting; semaphores, latches, barriers and jthread stop tokens enable fast coordination and cooperative interruption, and synchronized output streams prevent interleaved logging.

AI-written summary · about

  1. 0:00Introduction to C++20
  2. 1:34Spaceship operator
  3. 6:23Designated initialization
  4. 9:42Constexpr improvements
  5. 13:30Template improvements
  6. 16:57Stood span container
  7. 20:01Library container updates
  8. 22:11Safe integer comparisons
  9. 25:47Chrono calendar expansion
  10. 30:03Formatting library
  11. 35:03Concurrency improvements
  12. 41:35Cooperative interruption
  13. 56:53Conclusion
~/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.