Lukasz Lipski Going deep into the rabbit hole

RTTI Internals in MSVC

In this article, I’d like to explain how MSVC handles the Run-Time Type Information (RTTI). In C++, RTTI can be used by dynamic_cast, typeid or exception handling. I won’t go into details about each of the mentioned use cases but rather I’ll focus on MSVC implementation of the RTTI.