Page 1 - Showing 8 of 45 posts
View all posts by years →
- Effective C++: 避免遮掩继承而来的名称
Avoid hiding inherited names
6 min read - Effective C++: 确定你的 public 继承塑模出 is-a 关系
Make sure public inheritance models 'is-a'
6 min read - Effective C++: 成对使用 new 和 delete 时要采取相同形式
Use the same form in corresponding uses of new and delete
5 min read - Effective C++: 以独立语句将 newed 对象置入智能指针
Store newed objects in smart pointers in standalone statements
6 min read - Effective C++: 在资源管理类中提供对原始资源的访问
Provide access to raw resources in resource-managing classes
5 min read - Effective C++: 在资源管理类中小心 copying 行为
Think carefully about copying behavior in resource-managing classes
6 min read - Effective C++: 以对象管理资源
Using objects to manage resources
3 min read - Effective C++: 为多态基类声明虚析构函数
Declare destructors virtual in polymorphic base classes
5 min read