~/talk

The C++20 Standard Library: Beyond Ranges

Talkat CppCon 2019 · 2019-09-15..09-20· [c-and-cpp]
links:none on file
slides:none on file

Survey of C++20 library changes concentrates on concrete features and caveats: std::format (from fmt) adds Python‑style formatting but throws runtime errors on mismatched counts/types; chrono gets year/month/day types, strong i/o and no exceptions for invalid dates (check ok()); views like span are constexpr and accept any contiguous range; new std::jthread auto‑joins and uses stop_token for cooperative shutdown; associative contains(), erase_if overloads, atomic<shared_ptr>, atomic_ref, bit/byte utilities and sink streams for thread‑safe buffered output all land in the standard.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 8:25Output formatting with std::format
  3. 21:11Synchronized output streams
  4. 24:32String stream buffer access
  5. 26:03Span and container updates
  6. 31:20Associative container contains
  7. 32:49Uniform container erasure
  8. 35:40Chrono major upgrades
  9. 43:51Chrono error handling
  10. 44:12Concurrency with jthread
  11. 48:21Stop token and cooperative shutdown
  12. 50:14Atomic shared pointer
  13. 51:19Atomic ref for high performance
  14. 52:21String prefix and suffix checks
  15. 53:07Source location utility
  16. 55:17Math constants and functions
  17. 56:43Bit manipulation utilities
  18. 58:12Bit cast and endian
  19. 59:01Summary and closing
~/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.