Hind Forsum Hind Forsum - 1 year ago 67
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?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download