A-23 RTTI class structures (was RTTI updates)

Jason Merrill jason at cygnus.com
Thu Feb 10 17:49:25 UTC 2000


dehnert at baalbek.engr.sgi.com (Jim Dehnert) writes:

> I've fixed all of Nathan's concerns except that of indicating whether
> the vmi_flags refer to direct and indirect bases.  That one's because I
> wasn't sure of the right answer.  It seems useful to include both
> direct and indirect properties except for:
> 
>  1) has non-virtual bases (would anyone ever care about indirect ones?)
>  2) maybe publicly inherited bases (same reason)
> 
> Opinions on these (and the others)?

You mean duplicate the flags, once for direct and once for indirect?
That seems useless to me; I agree with Nathan that the flags refer to
both direct and indirect bases.

> I also made the fix for his more significant concern.  I had left out
> the multiple inheritance flag because of the exchange with Jason at the
> meeting indicating agreement that it wasn't necessary.  But one or both
> of us may have misunderstood what we were discussing.  Does anyone have
> a problem with including it?

Nope, makes sense to me.

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?

Jason




More information about the cxx-abi-dev mailing list