Skip to content

Commit 0558bda

Browse files
committed
[temp.arg.explicit,temp.mem] Clarify note about explicit template arguments
for conversion function templates and constructor templates.
1 parent dc6d80a commit 0558bda

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

source/templates.tex

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2472,11 +2472,9 @@
24722472
\end{codeblock}
24732473
\end{example}
24742474
\begin{note}
2475-
Because the explicit template argument list follows the function template
2476-
name, and because conversion member function templates and constructor
2477-
member function templates are called without using a function name,
2478-
there is no way to provide an explicit template argument list for these
2479-
function templates.
2475+
There is no syntax to form a \grammarterm{template-id}\iref{temp.names}
2476+
by providing an explicit template argument list\iref{temp.arg.explicit}
2477+
for a conversion function template\iref{class.conv.fct}.
24802478
\end{note}
24812479

24822480
\pnum
@@ -6978,10 +6976,10 @@
69786976
\pnum
69796977
\begin{note}
69806978
Because the explicit template argument list follows the function
6981-
template name, and because conversion member function templates and
6982-
constructor member function templates are called without using a
6983-
function name, there is no way to provide an explicit template
6984-
argument list for these function templates.
6979+
template name, and because
6980+
constructor templates\iref{class.ctor} are named without using a
6981+
function name\iref{class.qual}, there is no way to provide an explicit
6982+
template argument list for these function templates.
69856983
\end{note}
69866984

69876985
\pnum

0 commit comments

Comments
 (0)