vtable layout

Jason Merrill jason at cygnus.com
Sat Aug 28 03:57:23 UTC 1999


>>>>> thomson  <thomson at ca.ibm.com> writes:

 > But the more significant point to make, is that the inter-vtable
 > navigation you describe isn't possible with this design, since a B in D
 > vtable may not have the same number of adjustment slots that a B in D in
 > DD has.

That's why we don't just add the slots to the B vtable; we add them to the
DD vtable (or the DD::D vtable, whichever).

Jason




More information about the cxx-abi-dev mailing list