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软件设计和开发成败的规则和问题。
UDA是一种专门为提高并行程序开发效率而设计的计算架构。在构建高性能应用程序时,CUDA架构能充分发挥GPU的强大计算功能。《GPU高
《少年读西游》内容简介:这是一本为青少年解读《西游记》的书。著名学者李天飞专注《西游记》研究多年,积累参考上千种文献,然而
Perlisaversatile,powerfulprogramminglanguageusedinavarietyofdisciplines,rangingf...
《那场青春的一次出走》内容简介:这是一本青春情感美文集,主人公均是以青少年为主。那朦胧的爱情、浓浓的亲情,以及真挚的友情,
随着《我++——电子自我和互联城市》(Me++:TheCyborgSelfAndTheNetworkedCity)的出版,《比特之城》(CityOfBits)和...
《中国古代寓言故事》内容简介:中国古代寓言历史悠久,从先秦到清末,留下的寓言难以计数,其中有口皆碑的经典作品就举不胜举。古
《色彩设计》主要介绍了色彩、配色及色彩管理的相关知识以及在软件中如何实现,通过将具体的配色案例进行Before与After的对比,并
《往事住的房间》内容简介:陈丹燕历时20年写就的世界各地博物馆独家故事! 每个人都觉得自己记性不好,但是,人类真是一种不肯忘记
《浪花礼赞:汪氏现当代名人录》内容简介:本书主要辑录了现当代为国家建功立业而呕心沥血、殚精竭虑、鞠躬尽瘁、忠心耿耿、赤胆忠
《PLC标准化编程原理与方法》内容简介:本书针对PLC编程工程师设计工作量大、现场调试时间长、售后服务工作量大、工作效率低的现状
《XML完全探索》是完全根据读者的需要而设计的,书中有大量实际的XML场景。是一本尽可能深入地阐述XML的书籍,与其他XML书籍不同
《赵晓生钢琴独奏作品集》内容简介:《赵晓生钢琴独奏作品集》收入了创作乐曲6首,如《太极》;改编乐曲《青松岭》等6首;音乐会练
本书从1996年乔布斯以临时首席执行官(interim-CEO,iCEO)的身份重返苹果公司开始讲起。但是,对于早期诸如苹果二代或者最初的麦
《唐诗洛阳记:千年古都的文学史话》内容简介:本书将时段定于隋唐,将空间定于洛阳,是一部体例独特的唐代文学史话,试图描绘一幅
ApracticalguideonCSS(CascadingStyleSheets)forprofessionalsandnovices,thatcanbeus...
本书为机电工程师继续教育丛书之一。本书以工程应用为背景,系统地阐述常用人工神经网络的基本原理、学习算法及分析方法,全书共
《忽必烈》内容简介:忽必烈,是中国和蒙古族历史上的重要人物。虽灭亡南宋,一统全国,行用汉法,创建元朝,却又多疑猜忌,贪财谥
《傅雷家书(四十周年纪念精装)》内容简介:傅雷家人编定的傅雷全家于1954年—1966年间的往来家信精选,收录信件215通,其中傅聪、
《LaTeX2e完全学习手册》内容简介:LaTeX2e,简称LaTeX,是一种专业的高品质文稿排版系统,目前已成为国际学术出版界广泛使用的排
计算机图形学 内容简介 本书全面介绍计算机图形学的系统组成、图形生成与显示算法以及交互实现技术。主要内容包括计算机图形系统、基本光栅图形生成技术、图形变换、交互...