找回密码
 立即注册
条款函数ItemEffectiveC | 嵌入式Linux 2022-09-28 115 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
有人说C++程序员可以分成两类,读过EffectiveC++的和没读过的。S界尖端C++大师ScottMeyers成名之作的第三版确实当得起这样的评估。当您读过这本书之后,就获得了敏捷提高自己C++功力的一个关键。1.让自己习气C++条款01:视C++为一个言语联邦条款02:尽量以const,enum,inline更换#define条款03:尽可能使用const条款04:断定目标被使用前已先被初始化2.结构/析构/赋值运算条款05:理解C++静静编写并调用哪些函数条款06:若不想使用编译器自动成生的函数,就该清晰回绝条款07:为多态基类声明Virtual析构函数条款08:别让异常逃离析构函数条款09:绝不在结构和析构过程中调用Virtual函数条款10:令Operator=回来一个referencetothis条款11:在Operator=中管理“自我赋值”条款12:复制目标时勿忘其每一个成分
EffectiveC++.chm

(Some people say that C   programmers can be divided into two categories, those who have read EffectiveC   and those who have not. The third edition of the world's leading C   guru, Scott Meyers, certainly deserves such an assessment. When you read this book, you will get a key to improve your C   skills agilely. 1. Get yourself used to C   Clause 01: Treat C   as a language Federation Clause 02: Try to replace #define Clause with const, enum, inline Clause 03: Use const as much as possible Clause 04: Determine that the object has been initialized before it is used 2. Structure /Destruction/Assignment Item 05: Understand which functions C   silently writes and calls Item 06: If you don't want to use compiler-generated functions, you should clearly reject Item 07: Declare Virtual destructors for polymorphic base classes 08: Don't let exceptions escape destructors Item 09: Never call Virtual functions during struct and destructor Item 10: Make Operator= return a reference to this Item 11: Manage "self-assignment" in Operator= Item 12: When copying targets Don't forget every ingredient
EffectiveC  .chm)

[下载]16050533531.rar




上一篇:LinuxC函数库详解词典
下一篇:more effective c++