Skip to content

[temp.arg.explicit,temp.mem] Clarify note about explicit template arg… #2043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2472,11 +2472,9 @@
\end{codeblock}
\end{example}
\begin{note}
Because the explicit template argument list follows the function template
name, and because conversion member function templates and constructor
member function templates are called without using a function name,
there is no way to provide an explicit template argument list for these
function templates.
There is no syntax to form a \grammarterm{template-id}\iref{temp.names}
by providing an explicit template argument list\iref{temp.arg.explicit}
for a conversion function template\iref{class.conv.fct}.
\end{note}

\pnum
Expand Down Expand Up @@ -6978,10 +6976,10 @@
\pnum
\begin{note}
Because the explicit template argument list follows the function
template name, and because conversion member function templates and
constructor member function templates are called without using a
function name, there is no way to provide an explicit template
argument list for these function templates.
template name, and because
constructor templates\iref{class.ctor} are named without using a
function name\iref{class.qual}, there is no way to provide an explicit
template argument list for these function templates.
\end{note}

\pnum
Expand Down