Skip to content

Commit 89f8412

Browse files
sdkrystianzygoloid
authored andcommitted
[dcl.enum] Turn redundant and informal wording into a note
1 parent c025a57 commit 89f8412

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

source/declarations.tex

+5-2
Original file line numberDiff line numberDiff line change
@@ -6949,9 +6949,11 @@
69496949
\end{codeblock}
69506950
\end{example}
69516951
\indextext{member!enumerator}%
6952+
\begin{note}
69526953
An enumerator declared in class scope can be referred to using the class
6953-
member access operators (\tcode{::}, \tcode{.} (dot) and \tcode{->}
6954-
(arrow)), see~\ref{expr.ref}.
6954+
member access operators \tcode{.} (dot) and \tcode{->}
6955+
(arrow)\iref{expr.ref},
6956+
or with the scope resolution operator \tcode{::}\iref{class.qual}.
69556957
\begin{example}
69566958
\begin{codeblock}
69576959
struct X {
@@ -6969,6 +6971,7 @@
69696971
}
69706972
\end{codeblock}
69716973
\end{example}
6974+
\end{note}
69726975

69736976
\rSec2[enum.udecl]{The \tcode{using enum} declaration}%
69746977
\indextext{enumeration!using declaration}%

0 commit comments

Comments
 (0)