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软件设计和开发成败的规则和问题。
《肌肉训练实战宝典》内容简介:《肌肉训练实战宝典》是专为期望快速训练肌肉的读者所设计的入门级图书。通过专业教练的详细演示,
《ActionScript3.0精彩范例词典》列出了最常用的ActionScript语法,并附有详细的程序代码范例,不但教您如何使用、修改ActionScr
《亚马逊跨境电商运营宝典》内容简介:本书详细讲解亚马逊的平台知识和运营技巧,内容围绕亚马逊卖家的日常工作,系统讲解亚马逊账
Photoshop建筑表现图专业技法与范例-附光盘 本书特色 《Photoshop建筑表现图专业技法与范例》:超值多媒体光盘12段多媒体全程配音教学视频30个建...
《邻里杂货:澳门士多店主口述历史》内容简介:本书为“澳门口述历史丛书”之一,主要由对十一位澳门士多店主的访谈整理而成。他们
《代码整洁之道:程序员的职业素养》内容简介:本书是编程大师“Bob大叔”40余年编程生涯的心得体会的总结,讲解要成为真正专业的程
Howdidthepopularityofunderwearinthetwelfthcenturyleadtotheinventionoftheprinting...
《网络安全应急响应基础理论及关键技术》内容简介:本书主要针对网络安全专业的从业者、学生、爱好者,概述了网络安全应急响应方面
人脸表情识别算法及应用 本书特色 让机器看懂你的眼神为读者提供一本反映当前表情识别系统发展水平的专业参考书籍。人脸表情识别算法及应用 内容简介 本书主要研究了表...
《终极极客——“Android之父”安迪•鲁宾》内容简介:“极客”,美国俚语geek的音译,这个词代表着智慧超群,又代表着独特专行,从
新思路(2013最新版)二级Access 上机考试新版题库 无纸化考试新题型 本书特色 新思路(2013最新版)二级Access 上机考试新版题库 无纸化考试新...
本书由一个团队编写而成,这个团队的成员都是一些经验丰富且专注于JavaScript的开发者。TomHallett是一位高级Ruby和JavaScript工
精通XNA图形与游戏程序设计 本书特色 作为一本介绍XNA游戏程序设计的书籍,杨关胜等编著的《精通XNA图形与游戏程序设计》把“实用”作为每一章节的出发点和落脚...
Apacheisfarandawaythemostwidelyusedwebserverplatformintheworld.Thisversatileserv...
说到网站建设,很多朋友仍然不知道网站“设计”和“制作”的概念;忽视前期策划的重要性……其实建设网站的思路比技术和内容更重
《痛点》内容简介:互联网经济迅猛发展,大数据成为分析用户需求的一种惯性路径。世界首席品牌营销专家林斯特龙则指出,大数据连接
《团购之王:Groupon的创业疯魔史》内容简介:Groupon是全球最大的团购网站,也是全球被“山寨”次数最多的公司。其据点遍布全世界
IDAPro(交互式反汇编器专业版)是应用最广泛的静态反汇编工具,在IT领域有着举足轻重的地位,但其文档资料一直都不够完善,在ID
成功的ERP项目实施——SAP R/3 本书特色 如果你正在参与ERP项目的实施,本书对你来说是不可或缺的,因为它通过一个大型SAP R3实施项目的案例研究,提...
本书用丰富的图示,从最小二乘法出发,对基于最小二乘法实现的各种机器学习算法进行了详细的介绍。第Ⅰ部分介绍了机器学习领域的