Modern C++ Features
4 Topics
1
C++14 Features
Learn features introduced in the C++14 standard, refining C++11 capabilities.
Generic lambdas, return type deduction, and the introduction of std::make_unique.
2
C++23 Features
Discover features introduced in C++23, including std::print, explicit object parameters, and std::expected.
Monadic error handling with std::expected, explicit object parameters (deducing this), and std::print formatting optimizations.
3
C++ Core Guidelines
Write clean, safe, and maintainable C++ code by following the official C++ Core Guidelines.
Ownership rules, using raw pointers only as non-owning observers, and ensuring type and resource safety.
4
Common Pitfalls
Identify and avoid common mistakes in modern C++, including dangling captures and use-after-move errors.
Dangling references in lambda captures, use-after-move undefined behavior, and returning references to temporary objects.