File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 37703770Attempting to create an object\iref {intro.object } in storage that
37713771does not meet the alignment requirements of the object's type
37723772is undefined behavior.
3773+ \begin {note }
3774+ The alignment requirement of a complete object type can be queried using an
3775+ \keyword {alignof} expression\iref {expr.alignof }.
3776+ \end {note }
37733777
37743778\pnum
37753779A \defnadj {fundamental}{alignment} is represented by an alignment
38213825requirement also satisfies any weaker valid alignment requirement.
38223826
38233827\pnum
3824- The alignment requirement of a complete type can be queried using an
3825- \keyword {alignof} expression\iref {expr.alignof }. Furthermore,
3826- the narrow character types\iref {basic.fundamental } shall have the weakest
3828+ The narrow character types\iref {basic.fundamental } shall have the weakest
38273829alignment requirement.
38283830\begin {note }
38293831This enables the ordinary character types to be used as the
You can’t perform that action at this time.
0 commit comments