Skip to content

Commit 9d15030

Browse files
Dawn Perchikzygoloid
authored andcommitted
LWG3034 P0767R1 breaks previously-standard-layout types
1 parent 245db35 commit 9d15030

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

source/strings.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
\pnum
77
This Clause describes components for manipulating sequences of
8-
any non-array trivial\iref{basic.types} type.
8+
any non-array trivial standard-layout\iref{basic.types} type.
99
Such types are called \defnx{char-like types}{char-like type},
1010
and objects of
1111
char-like types are called \defnx{char-like objects}{char-like object} or

source/support.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
\pnum
332332
The type
333333
\indexlibrary{\idxcode{max_align_t}}%
334-
\tcode{max_align_t} is a trivial type whose alignment requirement
334+
\tcode{max_align_t} is a trivial standard-layout type whose alignment requirement
335335
is at least as great as that of every scalar type, and whose alignment
336336
requirement is supported in every context\iref{basic.align}.
337337

source/utilities.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16854,7 +16854,7 @@
1685416854
The value of \textit{default-alignment} shall be the most
1685516855
stringent alignment requirement for any \Cpp{} object type whose size
1685616856
is no greater than \tcode{Len}\iref{basic.types}.
16857-
The member typedef \tcode{type} shall be a trivial type
16857+
The member typedef \tcode{type} shall be a trivial standard-layout type
1685816858
suitable for use as uninitialized storage for any object whose size
1685916859
is at most \tcode{Len} and whose alignment is a divisor of \tcode{Align}.\br
1686016860
\requires{} \tcode{Len} shall not be zero. \tcode{Align} shall be equal to
@@ -16865,7 +16865,7 @@
1686516865
class... Types>\br
1686616866
struct aligned_union;}
1686716867
&
16868-
The member typedef \tcode{type} shall be a trivial type suitable for use as
16868+
The member typedef \tcode{type} shall be a trivial standard-layout type suitable for use as
1686916869
uninitialized storage for any object whose type is listed in \tcode{Types};
1687016870
its size shall be at least \tcode{Len}. The static member \tcode{alignment_value}
1687116871
shall be an integral constant of type \tcode{size_t} whose value is the

0 commit comments

Comments
 (0)