Skip to content

Commit cd38a68

Browse files
committed
[basic.pre] Clarify that *declaration*s are not declarations
During our recent review of the standard, much confusion arose from mistaking the grammar term _declaration_ with the textual term "declaration" defined in [basic.pre], so add a note to avoid others spending far too much time to realize the same.
1 parent 41014b4 commit cd38a68

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/basic.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@
9797
implicit declaration of an injected-class-name\iref{class.pre}.
9898
\end{itemize}
9999
\begin{note}
100+
The term declaration is not a synonym for a \grammarterm{declaration}\iref{dcl.pre}.
101+
\end{note}
102+
\begin{note}
100103
The interpretation of a \grammarterm{for-range-declaration} produces
101104
one or more of the above\iref{stmt.ranged}.
102105
\end{note}

0 commit comments

Comments
 (0)