Vtables

Mark Mitchell mark at codesourcery.com
Sun Feb 20 03:04:19 UTC 2000


Folks --

  The ABI appears to specify that the secondary vtables immediately
follow the primary vtables for a class.  However, the order is
unclear:

7.The secondary vtables are last. They are laid out in the same order used for the bases themselves in the object. 

  That's not well-defined since two bases may lay at the same offset.
Let's just say `in the order given by a left-to-right depth-first walk
of the inheritance graph', assuming that there's not some deep reason
behind the current wording.

  Agreed?

--
Mark Mitchell                   mark at codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com




More information about the cxx-abi-dev mailing list