[cxx-abi-dev] Layout of overaligned empty base classes

John McCall rjmccall at apple.com
Thu Feb 5 07:15:28 UTC 2015


> On Feb 4, 2015, at 4:26 PM, Richard Smith <richardsmith at google.com> wrote:
> 
> Change the final paragraph of 2.4/II/3 as follows:
> 
> """
> Once offset(D) has been chosen, update sizeof(C) to max (sizeof(C), offset(D)+sizeof(D))
> <ins>, and align(C) to max (align(C), nvalign(D))</ins>.
> <del>Note that nvalign(D) is 1, so no update of align(C) is needed.</del>
> S<del>imilarly, s</del>ince D is an empty base class, no update of dsize(C) is needed.
> “""

Applied, thanks!

John.


More information about the cxx-abi-dev mailing list