Virtual base allocation (was: Typo ...)

Mark Mitchell mark at codesourcery.com
Tue Apr 4 00:26:54 UTC 2000


Oh, I see -- we seem to have settled a third alternative -- the one
that tries to smush things as much as possible.  That seems
reasonable.

Thanks.  And thanks for modifying the example -- that's a helpful
case.  You left out, however, the bit where I tried to give a C
equivalent for the structure -- which I think would be useful, too.

Both structures are layout-equivalent, roughly to:

  struct X {
    R r;
    T t;
  };

Maybe adding something like that would be helpful, too?

Thanks,

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




More information about the cxx-abi-dev mailing list