Modern C++ for Fun and Profit: This isn’t your old C++
summary
C++11/14/17 features get concrete treatment: auto, range-based loops and Eric Niebler’s ranges for lazy pipelines, lambdas that deduce with auto, move semantics enabling cheap return-by-value and move-only types, unique_ptr/shared_ptr and make_shared optimization, constexpr that folds work into compilation, and fold-expressions for variadic checks. Examples: found dozens of printf misuse sites using a compile-time type check; -fdump-tree to inspect GCC optimizations and confirm loop unrolling; constexpr pow moved work to compile time, showing real speedups and cross-compiler (GCC/Clang/MSVC) readiness.
AI-written summary · about
chapters (13)
- 0:00Introduction and speaker background
- 3:13Why modern C++ matters
- 6:22Old vs new C++ features
- 8:50Auto and initializer lists
- 13:32Range-based for loops and lambdas
- 17:07Composing algorithms with ranges
- 21:39Move semantics and rvalue references
- 29:39Smart pointers in modern C++
- 33:10Fold expressions and variadic templates
- 38:34Concepts and compile-time checks
- 41:27Constexpr and compile-time evaluation
- 45:42Assembly optimization example
- 50:05C++17 features and future directions








