Skip to content

Commit 8710e16

Browse files
committed
[temp.arg.explicit,temp.mem] Clarify note about explicit template arguments
for conversion function templates and constructor templates.
1 parent 067ddaa commit 8710e16

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

source/templates.tex

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2472,11 +2472,10 @@
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
2477+
list\iref{temp.arg.explicit} for a conversion member function
2478+
template\iref{class.conv.fct}.
24802479
\end{note}
24812480

24822481
\pnum
@@ -6978,8 +6977,8 @@
69786977
\pnum
69796978
\begin{note}
69806979
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
6980+
template name, and because
6981+
constructor member function templates\iref{class.ctor} are named without using a
69836982
function name, there is no way to provide an explicit template
69846983
argument list for these function templates.
69856984
\end{note}

0 commit comments

Comments
 (0)