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软件设计和开发成败的规则和问题。
《道德经与领导力》内容简介:本书将《道德经》与实际案例相结合,通过详细阐述《道德经》的真髓来告诉高级领导者如何处世,其中包
本书以通信系统及其发展为线索,系统、深入地介绍了通信技术的基本原理及其应用,着重论述了数字通信原理,但对模拟通信也进行了
《明朝那些事儿增补版:第八部(新版)》内容简介:《明朝那些事儿》第八部,主要讲述了从明熹宗到崇祯皇帝近十年间的历史。天启继
《VoIP技术构架(第2版)》解释了今天的一个基本的电话架构的建立和工作、有关语音和数据组网的主要概念、在数据网上传输语音和与电
Creativityisnolongerthesoleterritoryofthedesignerandothercreativeprofessionals.A...
《HikariCP数据库连接池实战》内容简介:这是一本从设计思想、功能使用、原理实现、工程实践、技术扩展5个维度全面讲解数据库连接池
本书是美国Oregon州立大学的MichaelJ.Quinn教授在多年讲授“并行程序设计”课程的基础上编写而成的,主要介绍用C语言,并结合使用
每个人都会面临这样的处境:进行企划提案时,要用什么方法来汇整资讯与发展点子?哪一种思考法能让你写出逻辑清楚、条理分明、容
《3G技术问答》从3G空中接口的四个主流标准(TD-SCDMA、WCDMA、cdma2000和WiMAX)的内容中精选了五百多个问题,以“知识问答”的形
《越过人生的刀锋:金庸女子图鉴》内容简介:捕捉原著未被留意的细节,六神磊磊妙笔勾勒金庸女子群像 知名自媒体人、畅销书作家六神
《版式设计基础教程》从“什么是版式设计”开始讲解为什么要进行版式设计,版式设计的基本要素、分类以及文字排列的基本方式。除
《绘生活 会生活》内容简介:这是一本教您用心绘出生活中的美好与感动的书,同时也传递给您一种对待生活的积极态度。本书中没有过多
ThisintroductiontourbanplanningapplicationsandproblemsolvingwithCISisappropriate...
《乡村振兴与非遗保护:文化遗产传承人的日常实践研究》内容简介:本书通过民俗学、人类学的田野调查和理论分析,以“皮影戏传承人
《JavaScript精粹》主要介绍JavaScript应用中一些常见的问题及其解决方法,从最基础的数字、字符串、数组到进阶的DOM、表单验证、
本书是理论计算机科学方面的优秀教材,主要介绍形式语言、自动机、可计算性和相关内容。本书特别注意定义、定理的准确性和严格性
《快乐心理学》内容简介:快乐一直被定义为:行为的后效。大部分人谈起自己快乐与否,几乎都是在说明他的需求是否「被满足」。世世
《从零开始做抖音短视频》内容简介:本书作者运营的自媒体账号“台球帝”在抖音和快手两个平台共拥有300多万粉丝量,在亲自运营的基
《孝经:忠经》内容简介:孝与忠,是中国古代儒家学说的重要内涵,对古代中国人影响至深至远。《孝经》十八章,成于秦汉之际,南宋
《HarmonyOS应用开发》内容简介:本书内容基于HarmonyOS 2.0 Beta版。从技术层面上讲,HarmonyOS目前可以使用Java和JavaSc...