网站首页  软件下载  游戏下载  翻译软件  电子书下载  电影下载  电视剧下载  教程攻略

请输入您要查询的图书:

 

书名 More Exceptional C++(英文版)
分类
作者 (美)萨特
出版社 机械工业出版社
下载
简介
编辑推荐

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

目录

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

随便看

 

霍普软件下载网电子书栏目提供海量电子书在线免费阅读及下载。

 

Copyright © 2002-2024 101bt.net All Rights Reserved
更新时间:2025/4/4 19:45:01