A-23 RTTI class structures (was RTTI updates)

Nathan Sidwell nathan at acm.org
Fri Feb 11 17:07:17 UTC 2000


Jason Merrill wrote:
> I'm still not sure what 'has {non-,}virtual base' are good for,
> though.  The only reason that we care about the difference between
> virtual and non-virtual bases is because of the potential for diamond
> shapes, right?
Yup, you're correct. Now that the flags are only in vmi classes,
the 'has {non-,}virtual base' flags give little/no help. (When they
were everywhere, they could prune the tree walk looking for the
original sub object given the src2dst hint, for some cases of dynamic
cast.)

Kill them.

nathan

-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan at acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan at cs.bris.ac.uk




More information about the cxx-abi-dev mailing list