Team LiB
Previous Section Next Section

Chapter 18. Specialized Tools and Techniques

第十八章 特殊工具与技术

CONTENTS

Section 18.1 Optimizing Memory Allocation

754

Section 18.2 Run-Time Type Identification

772

Section 18.3 Pointer to Class Member

780

Section 18.4 Nested Classes

786

Section 18.5 Union: A Space-Saving Class

792

Section 18.6 Local Classes

796

Section 18.7 Inherently Nonportable Features

797

Chapter Summary

805

Defined Terms

805


The 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.

本书前四部分讨论了怎样使用 C++ 中有普遍用途的特征,几乎所有 C++ 程序员都有可能在某些时候使用这些特征。此外,C++ 还定义了一些更为特殊的特征,许多程序员从不(或者很少)需要使用本章所介绍的这些特征。

Team LiB
Previous Section Next Section