Unlocking the value of C++20
summary
Concrete claims and runnable demos: 43% adoption statistic, assembler-level illustrations of performance, and a concrete claim of removed 4,000 lines via the three‑way comparison. Coverage lists real code workarounds and gotchas: ranges/views causing UB, consteval heap allocation requiring delete, no_unique_address size proofs, heterogeneous lookup for unordered_map with custom transparent hash, fixed_string NTTPs, safer integer comparisons, and jthread/semaphore/barrier examples — GCC/MS compiler notes and modern CMake/module status included. Good if needing code-level takeaways and measurable effects.
AI-written summary · about
chapters (23)
- 0:00C++20 value
- 1:45Speaker background and resources
- 4:14Why C++20 features matter
- 9:55Abbreviated function templates
- 15:36Designated initializers
- 17:43Scoped variables in loops
- 19:09Spaceship operator
- 25:48Signed integer rules
- 26:31No unique address
- 29:45Variadic and generic lambdas
- 34:24Constant evaluation
- 37:36Non-template type parameters
- 40:26Explicit conversion conditions
- 41:29Consteval polymorphism
- 43:34Safer integer comparisons
- 46:08Heterogeneous lookup
- 48:56Spans for arrays
- 51:46Bit manipulation
- 54:36Bitcast conversions
- 55:40Source location
- 56:22Threading and sync
- 1:00:15Barriers and latches
- 1:01:40Q&A
related talks
01h 38mC++20: Reaching for the Aims of C++
01h 02mC++20 - My Favorite Code Examples
52mExploring C++17 and beyond
01h 00mC++20 - the hidden pearls
01h 03mHow C++20 changes the way we write code
01h 30m50 shades of C++
56mPractical C++17
55mC++ 20 Innovations: High-Performance Cross-Platform Architecture in C++
