Software & Finance

C++ FAQ - What is RTTI - Run Time Type Information

RTTI is a nice feature and you have to enable if you are going to check the object type with in your program. For instance, if you are using dynamic_cast, then you have to enable Run-Time Type Information (/GR compiler option) in the project settings as shown below: