Run-Time Type Information


Run-Time Type Information

(compiler)(RTTI) Facilities included in C++ compilers toallow the type of an object to be determined at run time.

This facility, found in good C++ compilers and some otherhigh level languages, adds type information to memoryresident objects (i.e. type name or unique type-id). Thisallows the run-time system to determine if an object is of aspecific type, for example, to ensure that a cast of anobject is valid.