Skip to content

Commit bd518f2

Browse files
sdkrystianzygoloid
authored andcommitted
[class.union.anon] Turn redundant wording into a note
1 parent 209e05d commit bd518f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/classes.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3323,6 +3323,7 @@
33233323
member functions.
33243324

33253325
\pnum
3326+
\begin{note}
33263327
A union for which objects, pointers, or references are declared is not an anonymous union.
33273328
\begin{example}
33283329
\begin{codeblock}
@@ -3337,6 +3338,7 @@
33373338
is not visible outside the union, and even if it were visible, it is not
33383339
associated with any particular object.
33393340
\end{example}
3341+
\end{note}
33403342
\begin{note}
33413343
Initialization of unions with no user-declared constructors is described
33423344
in~\ref{dcl.init.aggr}.

0 commit comments

Comments
 (0)