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软件设计和开发成败的规则和问题。
《吴伯箫散文》内容简介:吴伯箫作为散文家,早在北京师大学读书时,就已经开始发表作品,早期散文写作的风格与何其芳、李广田二位
《黑白之城》内容简介:★建筑设计大家苏丹以幽默的笔触,纪录片般的记录方式,全景式刻画了20世纪80年代哈尔滨的世相百态。诗人西
《浪花礼赞:汪氏现当代名人录》内容简介:本书主要辑录了现当代为国家建功立业而呕心沥血、殚精竭虑、鞠躬尽瘁、忠心耿耿、赤胆忠
《自在余生》内容简介:中国的社会老龄化日益加深,在这样一个大环境背景下,个人养老观念也在不断革新。本书作者自身也是一位退休
《书法讲座》内容简介:本书以通俗易懂的讲座形式,全面讲述书法的发展历程、书法的美学、书法创作实践等。不仅重形而下之技法,更
PIC单片机基础与传感器应用-图解PIC单片机应用技术 本书特色 《PIC单片机基础与传感器应用》:图解PIC单片机应用技术PIC单片机基础与传感器应用-图解P...
2009上半年试题分析与解答 本书特色 《2009上半年试题分析与解答》根据人力资源和社会保障部、工业和信息化部文件,计算机技术与软件专业技术资格(水平)考试纳...
《工业产品设计手绘典型实例(第3版)》内容简介:本书共12章,分为3个层次,对应教学的需要,第1~3章是基础部分,主要讲述线条、
高级MPLS设计与实施 本书特色 通过对MPLS体系结构与操作的详细分析,加深对MPLS技术的理解;运用LSR设计并实现基于数据包的MPLS虚拟专用网;运用WA...
《山花灿烂寂寞红》内容简介:萧红编著的《山花灿烂寂寞红》是一本作品综合集,她的作品多取材于家乡,以其敏锐纤细的艺术感受力,
《一本书读懂内部审计》内容简介:内部审计工作涉及公司经营的每一个环节,小到一份经济合同、一张财务报表,大到业务流程、部门绩
本书深入阐述了能使UNIX操作系统发挥出量大功效的软件设计方法,对UNIX编程的精髓进行了清晰易懂的介绍。两位作者具有多年教学与
ThisbookprovidesacomPrehensive,modemaPproachtosignalsandsystems,concentfatingont...
Scikit-Learn与TensorFlow机器学习实用指南 本书特色 TensorFlow是一个采用数据流图(data flow graphs),用于数值计...
在线阅读本书《CrossingtheChasm:MarketingandSellingDisrupti》:Mooreprovidesaninvaluablese...
《有一种旋律叫梁祝》内容简介:本书以《梁祝的继承者们》完整剧本为主体,该剧是“生活三部曲”的第一部,即“艺术家”,也是非常
《HBase原理与实践》内容简介:本书系统介绍HBase基本原理与运行机制,融入了作者多年的开发经验与实践技巧。主要内容包括:HBase的
国内第一本基于GWT2.0的经典著作,4大专业社区联袂推荐,权威性毋庸置疑!本书内容全面,不仅详细介绍了GWT的主要模块和控件、GW
《博物馆窜行记》内容简介:本书收录了28篇腾讯·大家专栏作家顺受牵猴在欧美各博物馆窜行的所见所闻、所思所想。本书可以说是另类
《电信市场经营分析方法与案例》包括基础理论(1-3章)、分析实战(4-8章)和分析工具(9-11章)三大部分。第1章经营分析概述。界