𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

More exceptional C: 40 new engineering puzzles, programming problems, and solutions

✍ Scribed by Sutter, Herb


Publisher
Addison-Wesley Professional
Year
2001;2002
Tongue
English
Leaves
295
Series
AW C++ in Depth
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


This text contains coverage of optimization in both single and multi threaded environments. It emphasizes generic programming and using the C++ Standard Library.

✦ Table of Contents


Cover......Page 1
Contents......Page 8
Foreword......Page 10
Preface......Page 12
Item 1: Switching Streams......Page 16
Item 2: Predicates, Part 1: What remove() Removes......Page 21
Item 3: Predicates, Part 2: Matters of State......Page 26
Item 4: Extensible Templates: Via Inheritance or Traits?......Page 34
Item 5: Typename......Page 47
Item 6: Containers, Pointers, and Containers That Aren’t......Page 51
Item 7: Using Vector and Deque......Page 61
Item 8: Using Set and Map......Page 68
Item 9: Equivalent Code?......Page 74
Item 10: Template Specialization and Overloading......Page 79
Item 11: Mastermind......Page 84
Item 12: Inline......Page 98
Item 13: Lazy Optimization, Part 1: A Plain Old String......Page 101
Item 14: Lazy Optimization, Part 2: Introducing Laziness......Page 105
Item 15: Lazy Optimization, Part 3: Iterators and References......Page 109
Item 16: Lazy Optimization, Part 4: Multithreaded Environments......Page 118
Item 17: Constructor Failures, Part 1: Object Lifetimes......Page 130
Item 18: Constructor Failures, Part 2: Absorption?......Page 134
Item 19: Uncaught Exceptions......Page 141
Item 20: An Unmanaged Pointer Problem, Part 1: Parameter Evaluation......Page 147
Item 21: An Unmanaged Pointer Problem, Part 2: What About auto_ptr?......Page 150
Item 22: Exception-Safe Class Design, Part 1: Copy Assignment......Page 156
Item 23: Exception-Safe Class Design, Part 2: Inheritance......Page 164
Item 24: Why Multiple Inheritance?......Page 170
Item 25: Emulating Multiple Inheritance......Page 174
Item 26: Multiple Inheritance and the Siamese Twin Problem......Page 177
Item 27: (Im)pure Virtual Functions......Page 182
Item 28: Controlled Polymorphism......Page 187
Item 29: Using auto_ptr......Page 190
Item 30: Smart Pointer Members, Part 1: A Problem with auto_ptr......Page 197
Item 31: Smart Pointer Members, Part 2: Toward a ValuePtr......Page 202
Item 32: Recursive Declarations......Page 216
Item 33: Simulating Nested Functions......Page 221
Item 34: Preprocessor Macros......Page 230
Item 35: #Definition......Page 233
Item 36: Initialization......Page 238
Item 37: Forward Declarations......Page 241
Item 38: Typedef......Page 243
Item 39: Namespaces, Part 1: Using-Declarations and Using-Directives......Page 246
Item 40: Namespaces, Part 2: Migrating to Namespaces......Page 249
Afterword......Page 260
Appendix A: Optimizations That Aren’t (in a Multithreaded World)......Page 262
Appendix B: Test Results for Single-Threaded Versus Multithread-Safe String Implementations......Page 278
Bibliography......Page 286
C......Page 288
E......Page 289
I......Page 290
O......Page 291
S......Page 292
U......Page 293
X......Page 294

✦ Subjects


Computer Science;Programming;Technical;Science;Software;Engineering;Nonfiction;Computers;Programming Languages;Reference;Technology


πŸ“œ SIMILAR VOLUMES


More Exceptional C++: 40 New Engineering
✍ Herb Sutter πŸ“‚ Library πŸ“… 2001 πŸ› Addison-Wesley Professional 🌐 English

Organized in a practical problem-and-solution format, More Exceptional C++ picks up where the widely acclaimed Exceptional C++ leaves off, providing successful strategies for solving real-world problems in C++. Drawing from years of in-the-trenches experience, Herb Sutter provides tested techniques

More Exceptional C++: 40 New Engineering
✍ Herb Sutter πŸ“‚ Library πŸ“… 2001 πŸ› addison-wesley 🌐 English

Picks up where the widely acclaimed Exceptional C++ leaves off, providing successful strategies for solving real-world problems in C++. Promotes the practical and pragmatic understanding of the language while showing you how to write exceptional code in C++. Softcover.

Exceptional C++ Style: 40 New Engineerin
✍ Herb Sutter πŸ“‚ Library πŸ“… 2004 πŸ› Addison-Wesley Professional 🌐 English

Exceptional C++ Style continues where Exceptional C++ and More Exceptional C++ left off. This book follows in the tradition of the first two: It delivers new material, organized in bite-sized Items and grouped into themed sections. Readers of the first two books will find some familiar section theme

Exceptional C++ style: 40 new engineerin
✍ Herb Sutter πŸ“‚ Library πŸ“… 2004 πŸ› Addison-Wesley Professional 🌐 English

Software "style" is about finding the perfect balance between overhead and functionality... elegance and maintainability... flexibility and excess. In Exceptional C++ Style, legendary C++ guru Herb Sutter presents 40 new programming scenarios designed to analyze not only the what but the why and hel