The Best Parts of C++
summary
Survey of roughly 25 major features across C++98–C++20 shows concrete wins: make_unique (C++14) fixes common allocation idioms, guaranteed copy elision (C++17) removes surprising copies, and std::format/fmt lands for safer text output. Examples use unique_ptr, string_view, concepts, ranges, fold expressions, templates and lambdas to reduce errors and boilerplate. Tooling—sanitizers, static analysis and clang-modernize—gets legacy code modernized; claim is that memory bugs and awkward APIs largely disappear when these features are applied.
AI-written summary · about
chapters (13)
- 0:00Intro
- 3:03The C++ Standard
- 7:21Deterministic Object Lifetime and Destruction
- 16:03List Initialization
- 17:23Variadic Templates
- 22:46Return type deduction for normal functions.
- 26:30Generic And Variadic Lambdas
- 29:43Structured Bindings
- 37:02Text Formatting
- 43:08rvalue References
- 43:21Guaranteed Copy Elision
- 48:30Defaulted and Deleted Functions
- 49:40std:: unique_ptr and std::make_unique
related talks
01h 00mC++17, part 1: The Language Features
01h 44m"The Evolution of C++ Past, Present and Future"
58mC++17 in Practice - The good and the ugly
54mC++17 Features (part 2 of 2)
01h 01mMoving to C++20 for Fun, Beauty... and Results!
38mWhat's New In C++23
01h 39m“Thoughts on a more powerful and simpler C++ (5 of N)”
49mC++17 Features (part 1 of 2)
