![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Effective C++
-MCQ-
这个作者很懒,什么都没留下…
展开
-
1.让自己习惯C++
Accustoming Yourself to C++ 条款 01:视C++为一个语言联邦 View C++ as a federation of languages. C++ 高效编程守则视状况而变化,取决于你使用 C++ 的哪一部分。 条款 02:尽量以const,enum,inline替换 #define Preper consts,enums and inlines to #de...原创 2019-09-30 13:53:20 · 113 阅读 · 0 评论 -
2.构造/析构/赋值运算
Constructors,Destructors,and Assignment Operators 条款 05:了解 C++ 默默编写并调用哪些函数 Know what functions C++ silently writes and calls. 编译器可以暗自为 class 创建 default 构造函数、copy 构造函数、copy assignment 操作符,以及析构函数。 条款...原创 2019-10-08 15:47:18 · 103 阅读 · 0 评论