~/talk

C++20: What's in it for you?

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

A rapid, concrete tour of C++20 features and what works now: modules replace includes and compile once, ranges give lazy views and pipeable adapters, coroutines provide generators but standard helpers are missing so use library support (Visual Studio offers experimental generators), concepts tighten template diagnostics, and new concurrency types include atomic smart pointers and joinable cancelable threads (jthread), semaphores, latches and barriers. std::format is shown faster than printf, std::span, string-literal non-type template params, spaceship, chrono timezones, and consteval/constinit round out the practical changes.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 4:49Modules in C++20
  3. 9:27Ranges in C++20
  4. 13:50Go routines in C++20
  5. 17:24Concepts in C++20
  6. 21:06Lambda expression changes
  7. 23:16Constant expression updates
  8. 24:42Concurrency improvements
  9. 33:23Designated initializers and spaceship operator
  10. 36:56Non-type template parameters and attributes
  11. 38:01Chrono library extensions
  12. 42:41Span and feature testing macros
  13. 45:40Immediate and constinit functions
  14. 48:52Enumerations and text formatting
  15. 53:12Math constants and source location
  16. 55:19Bit operations and small features
  17. 57:32Execution policies and algorithms
  18. 58:41Compiler support and future outlook
  19. 1:00:53Q&A session
~/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.