Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions abi.html
Original file line number Diff line number Diff line change
Expand Up @@ -792,10 +792,10 @@ <h3><a href="#class-types"> 2.4 Non-POD Class Types </a></h3>
<p>
<li> <h5> Allocation of Members Other Than Virtual Bases </h5>
<p>
For each data component D (first the primary base of C, if any, then
Each data component D (first the primary base of C, if any, then
the non-primary, non-virtual direct base classes in declaration order,
then the non-static data members and unnamed bit-fields in declaration
order), allocate as follows:
order) is laid out in order. If C is not a union, allocate as follows:

<ol type=1>

Expand Down Expand Up @@ -913,6 +913,10 @@ <h3><a href="#class-types"> 2.4 Non-POD Class Types </a></h3>

</ol>

<p>
If C is a union, D is placed at offset 0, but dsize(C) and sizeof(C)
are updated as for a non-union member, as described above.

<p>
After all such components have been allocated, set nvalign(C) =
align(C) and nvsize(C) = sizeof(C). The values of nvalign(C) and
Expand Down