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软件设计和开发成败的规则和问题。
本书作者利用丰富的时尚类杂志设计和宝贵的数字出版方面(iPad交互杂志)的经验为我们展示了不需要编程的知识,如何使用平面软件
《国家时代》内容简介:以中国人的语言谱系解析世界文明,看人类国家文明的历史发展逻辑;以世界文明的视野呈现中国文明,在对比中
《王阳明的智慧》内容简介:王阳明是中国历史上极为重要的思想家,他的“心即理”“知行合一”“致良知”“万物一体”等主张,不仅
《革命者》内容简介:《革命者》是一部献给革命先烈的正气歌,一部高扬中国共产党人崇高精神,为民族和国家构筑前进灵魂、注入精神
一本面向未来的投资教科书一个掀起思维革命的项目管理体系互联网时代,怎样选择并经营项目、招聘适合的人才、应对市场变化和波动
计算机电路基础 内容简介 计算机电路基础是高等职业技术学院计算机专业及计算机相关专业的一门重要专业基础课。本教材是作者在从事多年的计算机硬件产品开发和课程教学基...
虽然《我是猫》为人熟知,但未必被大家仔细读过。为了让读者能重拾它的独特之美,Graphic社计划为此书重新装帧,并集结出版,因此
华为技术认证-HCNP路由交换学习指南 本书特色 本书是配套华为HCNP-R&S的学习指导用书,全书共包含14章,内容包括路由基础、RIP、OSPF、IS-IS...
本书主要介绍了基于CPLD/FPGA的数字通信系统的设计原理与建模方法。从通信系统的组成、EDA概述及建模的概念开始(第1~2章),围
《SQL解惑(第2版)》中收集了75个与SQL编程相关的有趣问题,涉及数据库应用的许多方面,如财务、投资、旅游、销售、计算等,不一而
本书系统、深入地介绍了通信系统及通信网的基本原理及基本分析方法,是通信及信息专业的专业基础课教材。全书共二十一章,内容包
《钢琴套曲民谣四首》内容简介:本作品是作曲家刘敦南新近创作的钢琴作品,作品运用有调性的十二音创作技法,将中国民歌与当代技术
《微软互联网信息服务(IIS)最佳实践》内容简介:本书系统论述了微软互联网信息服务(IIS)的基本架构、安装方法、部署方式、配置
《安德森18首长笛练习曲 OP.41》内容简介:安德森长笛练习曲系列教程是欧美地区针对长笛演奏使用很普遍的一套教材,在长笛技巧性的
《“笨办法”学Python 3》内容简介:本书是一本Python入门书,适合对计算机了解不多,没有学过编程,但对编程感兴趣的读者学习使用
随着宽带业务需求的发展和潜在的巨额利润,宽带城域网正成为当前建设的热点。《宽带城域网实用手册》从内容的实用性和技术的先进
Thisinnovativetextpresentscomputerprogrammingasaunifieddisciplineinawaythatisbot...
《文化的江山01:文化中国的来源》内容简介:公元前4000—前2500年,彩陶和玉器时代,孕育出文化中国。8000年前的全新世大暖期开启
《2020—2021年中国消费品工业发展蓝皮书(精装版)》内容简介:本书基于全球化视角,对过去一年中我国及世界主要国家消费品工业的
《典藏——印象派作品高清图集》内容简介:印象派是西方绘画史上划时代的艺术流派,兴起于法国,在19世纪末达到鼎盛,其影响遍及欧