Hind Forsum Hind Forsum - 1 month ago 9
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?
Thanks

Answer

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