Foreword
Preface
Generic Programming and the C++ Standard Library
Item 1: Switching Streams
Item 2: Predicates, Part l: What remove() Removes
Item 3: Predicates, Part 2: Matters of State
Item 4: Extensible Templates: Via Inheritance or Traits?
Item 5: Typename
Item 6: Containers, Pointers, and Containers That Aren't
Item 7: Using Vector and Deque
Item 8: Using Set and Map
Item 9: Equivalent Code?
Item 10: Template Specialization and Overloading
Item 1 l: Mastermind
Optimization and Performance
Item 12: Inline
Item 13: Lazy Optimization, Part 1: A Plain Old String
Item 14: Lazy Optimization, Part 2: Introducing Laziness
Item 15: Lazy Optimization, Part 3: Iterators and References
Item 16: Lazy Optimization, Part 4: MuRithreaded Environments
Exception Safety Issues and Techniques
Item 17: Constructor Failures, Part 1: Object Lifetimes
Item 18: Constructor Failures, Part 2: Absorption?
Item 19: Uncaught Exceptions
Item 20: An Unmanaged Pointer Problem, Part 1: Parameter Evaluation
Item 21: An Unmanaged Pointer Problem, Part 2: What About auto_ptr?
Item 22: Exception-Safe Class Design, Part 1: Copy Assignment
Item 23: Exception-Safe Class Design, Part 2: Inheritance
Inheritance and Polymorphism
Item 24: Why Multiple Inheritance?
Item 25: Emulating Multiple Inheritance
Item 26: Multiple Inheritance and the Siamese Twin Problem
Item 27: (Im)pure Virtual Functions
Item 28: Controlled Polymorphism
Memory and Resource Management
Item 29: Using auto_otr
Item 30: Smart Pointer Members, Part l: A Problem with auto_ptr
Item 31: Smart Pointer Members, Part 2: Toward a ValuePtr
Free Functions and Macros
Item 32: Recursive Declarations
Item 33: Simulating Nested Functions
Item 34: Preprocessor Macros
Item 35: #Definition
Miscellaneous Topics
Item 36: Initialization
Item 37: Forward Declarations
Item 38: Typedef
Item 39: Namespaces, Part 1: Using-Declarations and Using-Directives
Item 40: Namespaces, Part 2: Migrating to Namespaces
Afterword
Appendix A: Optimizations That Aren't (in a Multithreaded World)
Appendix B: Test Results for Single-Threaded Versus Multithread-Safe
String Implementations
Bibliography
Index
本书以英文版的形式,介绍了MoreExceptionalC,通过40个问题帮助你理解关于C软件设计和开发成败的规则和问题。
《Lua 程序设计(第4版)》内容简介:本书由Lua语言作者亲自撰写,针对Lua语言本身由浅入深地从各个方面进行了完整和细致的讲解。作
大約有90%的產品開發案是失敗的,其中30%並沒有開發出任何產品,其他的雖然有產品問世,但人們不喜歡,或從來不使用;即便使用了
《金融计算与建模:理论、算法与SAS程序》全书分为4大模块:1-9章为金融学基础指标计算模块;10-12章为股票定价模块;13-18章为风
《深入浅出数据分析》以类似“章回小说”的活泼形式,生动地向读者展现优秀的数据分析人员应知应会的技术:数据分析基本步骤、实
《网站运维:保持数据实时的秘技》的各位合作者以自己的亲身经历,从不同的侧面讲述了一个正在发展中的新兴技术领域——网站运维:
《每晚睡前原谅所有的人和事》内容简介:每晚入睡前,想着一天的劳累和辛苦,想着过往几十年的辛酸与不易,想着那些我们曾经错过和
《互联网金融原理与实务》内容简介:本书在人类三次重大的科技变革中,信息技术对社会与经济的发展影响极为深刻。互联网的出现推动
《我国语言服务市场逆向选择问题治理研究》内容简介:语言服务在推动“一带一路”倡议等国家战略的实施方面发挥着重要作用。但是,
C语言程序设计基础教程 内容简介 本书内容包括:C语言基本知识、数据类型、运算符与表达式、语句和程序结构、数组、编译预处理、函数、指针、结构体和共用体、文件。C...
PHPChina官方出品,Discuz!创始人戴志康、UCHome创始人李国德、ThinkPHP创始人刘晨、PHPCMS项目负责人王参加等联袂推荐。本书是
DigitalCommunicationsisaclassicbookintheareathatisdesignedtobeusedasaseniororgra...
本书通过案例分析、图片、插画,以一种独特的、吸引人的、出乎意料的方式诠释了成功的视觉营销活动。本书详细讲解了如何通过在线
无师自通学点电脑新手学photoshop图像处理 本书特色 本书共分为12章,通过理论与实践相结合,全面、详细讲解了初识图像处理、创建与编辑选区、调整色...
C程序设计语言(第2版.新版) 内容简介 本书是由C语言的设计者Brian W.Kernighan和Dennis M.Ritchie编写的一部介绍标准C语言及其...
《每天一段话 写出好作文》内容简介:每天一段话,打下写作基本功,用成语、对话、描述、背景、顺序和节奏写出好作文。本书通过小琪
《护肤品全解码:100款超人气护肤品成分大检阅》内容简介:现在美容杂志、美容书籍琳琅满目。一些书籍和杂志的介绍过于简单和笼统,
《金融科技:变迁与演进》内容简介:互联网金融在中国的发展依靠市场、技术和制度三方面的因素。在市场方面,随着中国改革开放的不
计算机公共课考点分析与题解-(第二版) 本书特色 《计算机公共课考点分析与题解(第2版)》:普通高等教育“十一五”规划教材。精炼知识,直击考点讲解透彻,重点突破...
《如何赢得大客户》内容简介:本书讲述在如今这个一切都讲究高效率的时代,销售人员已经不仅仅单纯地去追求成交率和销售利润,促成
「平面設計是帶給人夢想的幸福工作。從事平面設計,除了需要一點幽默和感性之外,擁有平面設計的基本知識更是必備條件。」本書收