Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore safe and effective C++ type design in this conference talk from ACCU 2019. Learn guidelines for navigating complex language features like move semantics, noexcept, and constexpr introduced in C++11 and later. Discover how to create classes within controlled settings, understand when to apply the Rule of Zero or deviate to the Rule of Five or Six, and grasp the implications of each approach. Examine value classes, the use of final keyword, and alternatives to class hierarchies. Gain insights into designing various types of classes and properly declaring their special member functions to enhance code safety and correctness.