### RTTI

Controls the availability of runtime type information.

##### Syntax

#pragma RTTI on | off | reset

##### Targets

All platforms.

##### Remarks

If you enable this pragma, you can use runtime type information (or RTTI) features such as dynamic_cast and typeid. The other RTTI expressions are available even if you disable the Enable RTTI setting. Note that *type_info::before(const type_info&) is not yet implemented.

This pragma corresponds to the Enable RTTI setting . To check this setting, use __option (RTTI), described in Checking Settings.