Chapter 5
Classes and Class Hierarchies
A class is a user-defined type for which the programmer can specify the representation, the operations, and the interface. Class hierarchies are used to organize related structures.
The C++ Core Guidelines have about a hundred rules for user-defined types.
The guidelines start with summary rules before they dive into the special rules for
Concrete types
The eight summary rules provide the background for the special rules.
Summary rules
The summary ...
Get C++ Core Guidelines Explained: Best Practices for Modern C++ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.