注册 | 登录读书好,好读书,读好书!
读书网-DuShu.com
当前位置: 首页出版图书教育/教材/教辅外语英语读物More Exceptional C++(英文版)

More Exceptional C++(英文版)

More Exceptional C++(英文版)

定 价:¥36.00

作 者: (美)萨特
出版社: 机械工业出版社
丛编项: C++设计新思维系列丛书
标 签: C++

ISBN: 9787111183709 出版时间: 2006-03-01 包装: 平装
开本: 16开 页数: 279 字数:  

内容简介

  本书针对Exceptional C++中所没有提及的40个使用C++的实际问题,采用实用的“问题和解决方案”的格式,提供成功的解决策略。本书通过这40个问题帮你理解关于C++软件设计和开发成败的规则和问题,这些问题强调泛型编程、内存管理和使用C++标准库等等。本书是高级程序员必备的C++读物,它有助于使用C++写出非常出色的代码,从而加强你对语言的深刻理解和丰富实践。本书英文支持网页:http://www.gotw.ca/publications/mxc++.htm

作者简介

  HerbSutter是广受赞誉的Exceptional三卷本(《ExceptionalC++》、《MoreExceptionalC++》和《ExceptionalC++Style》)的作者,还曾发表了上百篇软件开发方面的技术文章和论文。他是ISOC++标准委员会的主席、《C/c++UsersJournal》的撰稿编辑和专栏作者。同时,他还担任MicrosoftVisualC++架构师,负责C++语言在.NET编程环境扩展(C++/CLI)方面的工作。

图书目录

Foreword
Preface
Generic Programming and the C++ Standard Library
Item I: Switching Streams
Item 2: Predicates, Part 1: 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 Oeque
Item 8: Using Set and Map
Item 9: Equivalent Code?
Item 10: Template Specialization and Overloading
Item 11: Mastermind
Optimization and Performance
Item 12: Inline
Item13: 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: Multithreaded Environments
Exception Safety Issues and Techniques
Item 17: Constructor Failures, Part l: 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: (Ira)pure Virtual Functions
Item 28: Controlled Polymorphism
Memory and Resource Management
Item 29: Using auto_ptr
Item 30: Smart Pointer Members, Part 1: 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: String Implementations       Versus
             Test Results for single-Threaded Versus Multithread-Safe
Bibliography
Index

本目录推荐