[content] Item 53: Pay attention to compiler warnings Example: warning: D::f() hides virtual B::f(). D::f […]
[C++][Chap. 8] Customizing new and delete
[content] Item 49: Understand the behavior of the new-handler DO: When operator new is unable […]
[C++][Chap. 7] Templates and Generic Programming
[content] Item 41: Understand implicit interfaces and compile time polymorphism Both class and templates support […]
[C++][Chap. 6] Inheritance and Object-Oriented Design
[content] Item32: Make sure public inheritance models “is-a” DO: Public inheritance means “is-a” relationship. Everything […]
[C++][Chap. 5] Implementations
[content] Item 26: Postpone variable definition as long as possible DO: Declare, define and initialize […]
[C++][Chap. 4] Designs and Declarations
[content] Items 18: Make interfaces easy to use correctly and hard to use incorrectly DO:1. […]
[C++][Chap. 3] Resource Management
[content] Items 13: Using objects to manage resource DO: Resources are acquired and immediately turned […]
[C++][Chap. 2] Constructor, Destructor and Assignment Operators
[content] Items 5: know what functions C++ silently writes and calls WHY: If there are […]