Skip to content

Commit 716c99a

Browse files
burblebeetkoeppe
authored andcommitted
CWG2936 Local classes of templated functions should be part of the current instantiation
1 parent c0a7e92 commit 716c99a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

source/templates.tex

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5003,13 +5003,16 @@
50035003
\item
50045004
in the definition of a nested class of a class template,
50055005
the name of the nested class referenced as a member of the
5006-
current instantiation, or
5006+
current instantiation,
50075007
\item
50085008
in the definition of a class template partial specialization
50095009
or a member of a class template partial specialization, the name of
50105010
the class template followed by a template argument list
50115011
equivalent to that of the partial specialization\iref{temp.spec.partial}
5012-
enclosed in \tcode{<>} (or an equivalent template alias specialization).
5012+
enclosed in \tcode{<>} (or an equivalent template alias specialization), or
5013+
\item
5014+
in the definition of a templated function,
5015+
the name of a local class\iref{class.local}.
50135016
\end{itemize}
50145017

50155018
\pnum

0 commit comments

Comments
 (0)