tags:

views:

2828

answers:

1

I am looking for details of the VTable structure, order and contents, and the location of the vtable pointers within objects.

Ideally, this will cover single inheritance, multiple inheritance, and virtual inheritance.

References to external documentation would also be appreciated

Documentation of GCC 4.0x class layout is here and the Itanium, and more broadly GNU, ABI layout documents are here.

+3  A: 

This is probably described in C++ ABI.

E.g., C++ VTable examples.

squadette