Hind Forsum Hind Forsum - 6 months ago 35
C++ Question

Does C++ ABI specify how vTable and RTTI information should exist?

Popular implementation like GCC/VC uses the first size_t space of an polymorphic object as a pointer, pointing to a vtable structure. Is this part of latest C++ ABI?

How about RTTI implementation, does C++ ABI specify how to implement?


No, the C++ standard does not specify how any of this should be implemented. There is no single C++ ABI.