Chapter 3.1 I.11: Never transfer ownership by a raw pointer (T*)
or reference (T&)
Chapter 3.2 I.3: Avoid singletons
Chapter 3.3 C.90: Rely on constructors and assignment operators, not memset
and memcpy
Chapter 3.4 ES.50: Don’t cast away const
Chapter 3.5 E.28: Avoid error handling based on global state (e.g. errno
)
Chapter 3.6 SF.7: Don’t write using namespace
at global scope in a header file