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








