摘要:
目录条款05:了解C++默默编写并调用哪些函数(Know what functions C++ silently writes and calls)自动生成的函数举例说明条款06:若不想使用编译器自动生成的函数,就该明确拒绝(Explicitly disallow the use of compil 阅读全文
![《Effective C++》第三版-2. 构造析构赋值运算(Constructors,Destructors,and Assignment Operators)](https://img2024.cnblogs.com/blog/3308556/202404/3308556-20240428100924967-1233037560.png)
摘要:
目录条款01:视C++为一个语言联邦(View C++ as a federation of languages)条款02:尽量以const、enum、inline替换#define(Prefer consts, enums, and inlines to #define)替换原因两种特殊常量形似函 阅读全文
![《Effective C++》第三版-1. 让自己习惯C++(Accustoming Yourself to C++)](https://img2024.cnblogs.com/blog/3308556/202404/3308556-20240428094909851-2082903650.png)
摘要:
目录术语(Terminology)命名习惯(Naming Conventions)关于线程(Threading Consideration)TR1和Boost 术语(Terminology) 声明式(declaration):告诉编译器某个东西的名称和类型(type),但略去细节 extern in 阅读全文
![《Effective C++》第三版-0. 导读(Introduction)](https://img2024.cnblogs.com/blog/3308556/202404/3308556-20240428094156601-1042410510.png)