Skip to content

Commit facc3ad

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

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

source/templates.tex

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2472,9 +2472,11 @@
24722472
\end{codeblock}
24732473
\end{example}
24742474
\begin{note}
2475+
%% Ed. note: Using \iref would cause an overflowing \hbox; changing
2476+
%% the sentence would lose the parallelism to [temp.mem] p5.
24752477
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+
name (\ref{temp.arg.explicit}), and because conversion member function templates\iref{class.conv.fct}
2479+
are named without using a function name,
24782480
there is no way to provide an explicit template argument list for these
24792481
function templates.
24802482
\end{note}
@@ -6978,8 +6980,8 @@
69786980
\pnum
69796981
\begin{note}
69806982
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+
template name, and because conversion member function templates (\ref{class.conv.fct}, \ref{temp.mem}) and
6984+
constructor member function templates\iref{class.ctor} are named without using a
69836985
function name, there is no way to provide an explicit template
69846986
argument list for these function templates.
69856987
\end{note}

0 commit comments

Comments
 (0)