Easing into Modern C++
summary
Seven small, adoptable C++ changes that pay off immediately: override found a four year old bug; use underlying enum types to make serialization and forward declarations simpler; prefer auto for function-pointer types and in-class member initialization to improve debug performance; replace C arrays with std::array-style patterns for extra type safety and make unwanted operations fail with deleted special member functions for clearer compile errors; add explicit operator bool and use chrono for robust time handling.
AI-written summary · about
chapters (8)
- 0:00Intro
- 0:42A COMMON NOTION
- 1:24override
- 1:51underlying_type FOR enum
- 2:10using OVER typedef
- 2:33DEFAULT MEMBER INITIALIZATION
- 3:11delete UNIMPLEMENTED SMFS
- 3:57explicit CONVERSION TO bool
related talks
59mModern C++ for Fun and Profit: This isn’t your old C++
51mTypical C++, but Why?
48mEarly Modern C++: How to Handle a C++03 Codebase in $CURRENT_YEAR
01h 06mModern C and What We Can Learn From It
01h 01mThe Best Parts of C++
01h 32mA Medley of C++
01h 07mDesign Patterns in Modern C++
01h 00mMoving Faster: Everyday efficiency in modern C++
