Contents

Section 19.1 Controlling Memory Allocation

Section 19.2 Run-Time Type Identification

Section 19.3 Enumerations

Section 19.4 Pointer to Class Member

Section 19.5 Nested Classes

Section 19.6 union: A Space-Saving Class

Section 19.7 Local Classes

Section 19.8 Inherently Nonportable Features

Chapter Summary

Defined Terms

The first three parts of this book discussed apects of C++ that most C++ programmers are likely to use at some point. In addition, C++ defines some features that are more specialized. Many programmers will never (or only rarely) need to use the features presented in this chapter.

C++ is intended for use in a wide variety of applications. As a result, it contains features that are particular to some applications and that ...

Get C++ Primer, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.