List of selected C++ Core Guidelines
The curse of non-const
global variables
Dependency injection as a cure .
Parameter passing: ownership semantics
When to return a pointer (T*
) or an lvalue reference (T&
)
Chapter 5: Classes and Class Hierarchies
Constructors, assignments, and destructors
Overloading and overloaded operators
Chapter 7: Resource Management
Chapter 8: Expressions and Statements
Variables and their initialization
Arithmetic with signed/unsigned integers
Sending a value, or an exception
Chapter 12: Constants and Immutability
Chapter 13: Templates and Generic Programming
Advantages of function objects
Alternative implementations with specializations
Chapter 14: C-Style Programming
Entire source code not available
Interface and implementation files
Chapter 16: The Standard Library
Chapter 17: Architectural Ideas
Chapter 18: Nonrules and Myths
Chapter 20: Guidelines Support Library