![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Effective C++
文章平均质量分 71
这家人
这个作者很懒,什么都没留下…
展开
-
Effective C++读书笔记之三:尽可能使用const
Item 03:Use const原创 2014-07-31 16:05:23 · 503 阅读 · 0 评论 -
Effective C++读书笔记之十六:成对使用new和delete时要采取相同形式
精炼的Effective C++读书笔记原创 2014-08-11 01:00:40 · 717 阅读 · 0 评论 -
Effective C++读书笔记之十四:在资源管理类中小心copying行为
精炼的Effective C++笔记原创 2014-08-08 18:15:54 · 713 阅读 · 0 评论 -
Effective C++读书笔记之八:别让异常逃离析构函数
Item 08: Prevent exceptions from leaving原创 2014-08-02 21:04:18 · 752 阅读 · 0 评论 -
Effective C++读书笔记之二:尽量以const,enum,inline替换#define
Item2:Prefer consts,enums,and inlines to #defines原创 2014-07-31 15:57:36 · 606 阅读 · 0 评论 -
Effective C++读书笔记之一:视C++为一个联邦
View C++ as a federation of原创 2014-07-31 14:28:13 · 639 阅读 · 0 评论 -
Effective C++读书笔记之十三:以对象管理资源
Item 13:Use objects to manage resources假设我们使用一个用来塑膜投资行为的程序库,其中各式各样的投资类型继承自一个root class:class Investment { ... }; //“投资类型”继承体系中的root class进一步假设,这个程序系通过一个工厂函数(工厂函数会“返回一个base class指针,指向新生成原创 2014-08-04 14:09:56 · 714 阅读 · 0 评论 -
Effective C++读书笔记之十二:复制对象时勿忘其每一个成分
精炼的Effective C++读书笔记原创 2014-08-04 13:41:48 · 802 阅读 · 0 评论 -
Effective C++读书笔记之十:令operator=返回一个reference to *this
Item 10:Have assigment operators原创 2014-08-03 15:56:46 · 606 阅读 · 0 评论 -
Effective C++读书笔记之十一:在operator=中处理“自我赋值”
Item 11:Handle assigment to self in operator =原创 2014-08-03 23:43:31 · 610 阅读 · 0 评论 -
Effective C++读书笔记之九:绝不在构造和析构过程中调用virtual
Item 09:Never call virtual原创 2014-08-03 15:35:04 · 698 阅读 · 0 评论 -
Effective C++读书笔记之七:为多态基类声明virtual析构函数
Item 07: Declare destructors virtual in polymorphic base classes原创 2014-08-01 23:46:07 · 664 阅读 · 0 评论 -
Effective C++读书笔记之六:若不想使用编译器自动生成的函数,就该明确拒绝
Item 06:Explicitly disallow the use原创 2014-08-01 23:44:25 · 638 阅读 · 0 评论 -
Effective C++读书笔记之五:了解C++默默编写并调用哪些函数
Item 05:Know what functions C++ silently writes and calls原创 2014-08-01 22:26:26 · 697 阅读 · 0 评论 -
Effective C++读书笔记之四:确定对象被使用前已先被初始化
Item 04:Make sure that opjects原创 2014-08-01 17:10:59 · 658 阅读 · 0 评论 -
Effective C++读书笔记之十五:在资源管理类中提供对原始资源的访问
精炼的Effective C++读书笔记原创 2014-08-08 18:54:59 · 682 阅读 · 0 评论