Vtables
Mark Mitchell
mark at codesourcery.com
Sun Feb 20 09:37:04 UTC 2000
>>>>> "Jim" == Jim Dehnert <dehnert at baalbek.engr.sgi.com> writes:
Jim> Yes. What the language means is the order in which
Jim> allocation occurs in the algorithm, not in memory, which is
Jim> what the document defines as inheritance graph order. I'll
Jim> try to clarify this.
Thanks!
BTW, "inheritance graph order" is also defined a little bit
inaccurately:
When all base classes of a class, direct and indirect, are viewed as
an ordered set, the order assumed that obtained by a depth-first,
left-to-right walk of the inheritance graph.
Really, this should say something like "all subobjects of a class
(including the complete object) ..." That's not really very good --
but the point is that there can of course be multiple instances of a
given class in the hierarchy.
It's really hard to make all these words clear, but it's worth it to
do our best -- that's the best way to ensure the ABI can be
implemented by lots of different people.
--
Mark Mitchell mark at codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the cxx-abi-dev
mailing list