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

A popular implementation, such as GCC / VC, uses the first size_t space of a polymorphic object as a pointer, indicating a vtable structure. Is this part the latest C ++ ABI?

What about an RTTI implementation, does C ++ ABI indicate how to implement it? Thanks

+4
source share
1 answer

No, the C ++ standard does not indicate how this should be implemented. There is no C ++ ABI.

+8
source

Source: https://habr.com/ru/post/1658790/


All Articles