type_info class

From RAD Studio
Jump to: navigation, search

Go Up to typeinfo.h Index

Header File



Provides support for type identification. The result of a typeid expression is a type_info value.


Only a private constructor is provided. You cannot create type_info objects. By declaring your objects to be __rtti types, or by using the -RT compiler switch, the compiler provides your objects with the elements of type_info. type_info references are generated by the typeid operator.