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软件设计和开发成败的规则和问题。
《Vim 8文本处理实战》内容简介:作为全面介绍Vim使用方法的教程,本书介绍了各种常用的文本编辑方法和程序设计中的实用操作,深入
《51单片机零基础轻松入门视频教程》内容简介:本书以STC89C52(AT89S52)为例,介绍了51单片机的结构和特点、入门和提高所需的C语
《C++反汇编与逆向分析技术揭秘》内容简介:本书既是一本全面而系统地讲解反汇编与逆向分析技术的安全类专著,又是一部深刻揭示C++
从Telsa到iPhone,从星巴克到无印良品,无论是塑造产品,还是打造品牌,设计似乎成为商业成功不可或缺的因素。然而,为什么绝大多
《其心无住》内容简介:《其心无住》是《降伏其心》与《善用其心》的续集,也是我出关十年,开山创建东华寺的心得感悟和修学佛法二
AninteractiveandfunwaytolearnC++,oneofthemostpopularhigh-levelprogramminglanguag...
本书是一本专门介绍IPTV技术的图书,书中全面而系统地介绍了IPTV的体系结构、基本原理和各种关键技术,包括前端系统、编码技术、
米歇尔•麦克罗伯茨(MichaelMcRoberts)2008年在天体摄影的小项目中制作云探测器,寻找将温度传感器连接到PC的方法时发现了Ardui
《网店运营、美工视觉、客服(入门版)》内容简介:CETC启蒙认证主要针对电子商务零基础人员及预备创业人员,以知识、理念普及和创
《当代中国马克思主义研究(2016)》内容简介:本书收录了2016年当代中国马克思主义论坛的专家发言和优秀征文共29篇。全书主要探讨
《新基建》内容简介:疫情全球大流行、世界经济危机和中美贸易摩擦,引发了宏观经济思想与政策的大论战、大变革。我们应该如何战胜
《陈子涛传》内容简介:本书为雨花台烈士传丛书之一,记叙了陈子涛烈士的一生。陈子涛1920年出生于广西玉林。1938年,初中毕业的陈
《世纪江村》内容简介:本书用纪实文学的笔法,聚焦大变局中的江苏吴江开弦弓村(即费孝通《江村经济》中的江村),以费达生、费孝
《可塑的我》内容简介:心理学发现,当我们遇到困难时,我们是有能力表现出截然不同的性格特征的,这便是我们每个人的可塑性。一个
《奥运中的科技之光》涉及体育科技的方方面面,包括时间与距离的检测,球的旋转与球在空气中的阻力与轨迹问题,跳水运动与身体旋
互動式設計:數位科技改變了現代生活所對應的一切,範疇廣及娛樂乃至工具配備。而對於數位科技商品的設計者而言,他們要創造的標
Inapost-9/11world,thepresentisasunpredictableasanyfuture...Paidtopredictthehotte...
《网红经济思维模式》内容简介:如果你想赚钱,可以入驻电商平台,拥抱互联网。如果你想出名,可以开通自媒体,打通宣传路。如果你
《UML风格(第2版)(英汉对照)》给出了一系列有效提高团队生产效率的编程风格的原则,描述了创建简洁、易于理解的UML图的标准和指南
《给孩子的心灵成长书》内容简介:《给孩子的心灵成长书》精选季羡林先生48篇适合孩子阅读的散文佳作,内容或描绘自然万物,或记叙