VTTs, yet again

Mark Mitchell mark at codesourcery.com
Thu May 18 00:33:23 UTC 2000


The description of the VTT (in VTT order) doesn't specify which vptrs
point into the main vtable group and which into construction vtable
groups.  It should.

I think the rule is:

  o If this VTT is a primary VTT, then the primary and secondary
    vptrs point into the main vtable group.

  o Otherwise, this VTT is a secondary VTT for a base B that itself
    uses virtual bases.  In that case, use vptrs that point into the
    construction vtable for B-in-D.

Right?

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




More information about the cxx-abi-dev mailing list