August 2012
Intermediate to advanced
976 pages
30h 17m
English
type_info ClassThe exact definition of the type_info
class varies by compiler. However, the standard guarantees that the class will be defined in the typeinfo header and that the class will provide at least the operations listed in Table 19.1.
Table 19.1. Operations on type_info
The class also provides a public virtual destructor, because it is intended to serve as a base class. When a compiler wants to provide additional type information, it normally does so in a class derived from type_info.
There is no type_info default constructor, and the copy and move constructors and the assignment operators are all defined as deleted (§ ...
Read now
Unlock full access