vtable layout

Jason Merrill jason at cygnus.com
Tue Aug 31 20:53:26 UTC 1999


>>>>> Ian Carmichael <iancarm at cygnus.com> writes:

 > The Microsoft approach is worth mentioning.  (I haven't seen it
 > discussed -- though perhaps that is because of the patent situation.)

That's why I haven't been discussing it, certainly.

 > One of Cristophe's suggestions is sort-of separate from the rest of the
 > discussion: making extra entries in the derived class' vft for some
 > overridden virtual functions.  It has the benefit of giving you a faster
 > calls if you happen to be in (or near) the derived class -- at the
 > expense of space in the vft.

Yep.  The plan is to add those extra entries regardless of the adjustment
strategy.

Jason




More information about the cxx-abi-dev mailing list