Vtable offsets

Mark Mitchell mark at codesourcery.com
Tue Jan 18 18:26:58 UTC 2000


>>>>> "Jason" == Jason Merrill <jason at cygnus.com> writes:

    Jason> Yup, that's what I had in mind.

Thanks for clarifying.  

Perhaps some variant on the wording I used will make it into the spec
itself.  For reference, here it is again:

    The vcall offset entries are allocated in the reverse order of
    the order in which the corresponding functions appear in A's
    vtables.  For example, the first entry in the vtable corresponds
    to the vcall offset entry closest to the point where the virtual
    function table pointer points.

Thanks,

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




More information about the cxx-abi-dev mailing list