Chapter 18. Specialized Tools and Techniques
CONTENTS Section 18.1 Optimizing Memory Allocation754Section 18.2 Run-Time Type Identification772Section 18.3 Pointer to Class Member780Section 18.4 Nested Classes786Section 18.5 Union: A Space-Saving Class792Section 18.6 Local Classes796Section 18.7 Inherently Nonportable Features797Chapter Summary805Defined Terms805The first four parts of this book discussed how to use those parts of C++ that are generally useful. Those features are likely to be used at some point by almost all C++ programmers. In addition, C++ defines some features that are more specialized. Many programmers will never (or only rarely) need to use these features presented in this chapter.