计算机书籍控

More Exceptional C++(英文)

目录


Generic Programming and the C++ Standard Library.
Item 1: Switching Streams (2 / 10).
Item 2: Predicates,
Part 1: What remove() Removes (4 / 10).
Item 3: Predicates, Part 2: Matters of State (7 / 10).
Item 4: Extensible Templates: Via Inheritance or Traits? (7 / 10).
Item 5: Typename (7 / 10).
Item 6: Containers, Pointers, and Containers That Aren’t (5 / 10).
Item 7: Using Vector and Deque (3 / 10).
Item 8: Using Set and Map (5 / 10).
Item 9: Equivalent Code? (5 / 10).
Item 10: Template Specialization and Overloading (6 / 10).
Item 11: Mastermind (8 / 10).

Optimization and Performance. Item 12: Inline (4 / 10). Item 13: Lazy Optimization, Part 1: A Plain Old String (2 / 10). Item 14: Lazy Optimization, Part 2: Introducing Laziness (3 / 10). Item 15: Lazy Optimization, Part 3: Iterators and References (6 / 10). Item 16: Lazy Optimization, Part 4: Multi-Threaded Environments (8 / 10).

Exception Safety Issues and Techniques. Item 17: Constructor Failures, Part 1: Object Lifetimes (4 / 10). Item 18: Constructor Failures, Part 2: Absorption? (7 / 10). Item 19: Uncaught Exceptions (6 / 10). Item 20: An Unmanaged Pointer Problem, Part 1: Parameter Evaluation (6 / 10). Item 21: An Unmanaged Pointer Problem, Part 2: What About auto_ptr? (8 / 10). Item 22: Exception-Safe Class Design, Part 1: Copy Assignment (7 / 10). Item 23: Exception-Safe Class Design, Part 2: Inheritance (6 / 10).

Inheritance and Polymorphism. Item 24: Why Multiple Inheritance? (6 / 10). Item 25: Emulating Multiple Inheritance (5 / 10). Item 26: Multiple Inheritance and the Siamese Twin Problem (4 / 10).Item 27: (Im)pure Virtual Functions (7 / 10). Item 28: Controlled Polymorphism (3 / 10).

Memory and Resource Management. Item 29: Using auto_ptr (5 / 10). Item 30: Smart Pointer Members, Part 1: A Problem with auto_ptr (5 / 10). Item 31: Smart Pointer Members, Part 2: Toward a ValuePtr (6 / 10).

Free Functions and Macros. Item 32: Recursive Declarations (6 / 10). Item 33: Simulating Nested Functions (5 / 10). Item 34: Preprocessor Macros (4 / 10). Item 35: #Definition (4 / 10).

Miscellaneous Topics. Item 36: Initialization (3 / 10). Item 37: Forward Declarations (3 / 10). Item 38: Typedef (3 / 10). Item 39: Namespaces, Part 1: Using-Declarations and Using-Directives (2 / 10). Item 40: Namespaces, Part 2: Migrating to Namespaces (4 / 10).

Afterword.

Appendixes,

Appendix A. Optimizations That Aren’t (In a Multithreaded World).

Appendix B. Test Results for Single- versus Multi-Thread-Safe String Implementations.

Bibliography.

书籍下载

免费下载

正版书籍

More Exceptional C++(英文)