Skip to content

Commit 218cee1

Browse files
burblebeetkoeppe
authored andcommitted
CWG2759 [[no_unique_address] and common initial sequence
1 parent 73bb723 commit 218cee1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/classes.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -796,9 +796,10 @@
796796
\item
797797
corresponding entities have the same alignment requirements\iref{basic.align},
798798
\item
799-
either both entities are declared with
800-
the \tcode{no_unique_address} attribute\iref{dcl.attr.nouniqueaddr}
801-
or neither is, and
799+
if a \grammarterm{has-attribute-expression}\iref{cpp.cond}
800+
is not \tcode{0} for the \tcode{no_unique_address} attribute,
801+
then neither entity is declared with
802+
the \tcode{no_unique_address} attribute\iref{dcl.attr.nouniqueaddr}, and
802803
\item
803804
either both entities are bit-fields with the same width
804805
or neither is a bit-field.

0 commit comments

Comments
 (0)