Conventionsο
- Classes
- Constructor
- Destructor
- Getters, Setters, Attribute Functions
- Boolean Member Functions
- Class Invariant
- Uncopyable
- Indestructible
- Avoid Protected Data
- Prefer Concrete Types Over Class Hierarchies
- Use =default and =delete Wherever Possible
- Virtual Functions Should Specify Exactly one of Virtual, Override, or Final
- Ordering
- Comments
- Constants
- Disallowed Features
- Enumerations
- Files
- Functions
- A Function Should Perform a Single Logical Operation
- Keep Functions Short and Simple
- If a Function Might Have to be Evaluated at Compile Time, Declare it constexpr
- For βinβ Parameters, Pass Cheaply-Copied Types by Value and Others by Reference to const
- Raw Pointer Arguments
- Raw Byte Array Arguments
- Translation-Unit Local Functions
- Lambdas
- Initialization
- Namespaces
- Naming Conventions
- Statements and Expressions