Table of Contents
Previous Section Next Section

typeid

The typeid operator returns a reference to a type_info object that describes the type of the object to which typeid is being applied. typeid has this general form:

typeid(object)

typeid supports runtime type identification (RTTI) in C++.

NOTE: See typeid in Chapter 3.


Table of Contents
Previous Section Next Section