RAD Studio |  |

typeinfo.h
Collapse All

The following functions, macros, and classes are provided in typeinfo.h:

Topics

Name | Description
bad_cast class | Header File typeinfo.h Description When dynamic_cast fails to make a cast to reference, the expression can throw bad_cast. Note that when dynamic_cast fails to make a cast to pointer type, the result is the null pointer.
bad_typeid class | Header File typeinfo.h Description When the operand of typeid is a dereferenced null pointer, the typeid operator can throw bad_typeid.
type_info class | Header File typeinfo.h Description Provides information about a type. Constructor 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. Public Member Functions Operators

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!