Re: Virtual base allocation (was: Typo ...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual base allocation (was: Typo ...)



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@xxxxxxxxxxxxxxxx
CodeSourcery, LLC               http://www.codesourcery.com