Skip to content

Commit 9274570

Browse files
A member function (template) is a function (template).
1 parent 63f5e08 commit 9274570

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

source/expressions.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3252,7 +3252,7 @@
32523252
\grammarterm{initializer-clause}{s} which
32533253
constitute the arguments to the function.
32543254
\begin{note}
3255-
If the postfix expression is a function or member function name,
3255+
If the postfix expression is a function name,
32563256
the appropriate function and the validity of the call
32573257
are determined according to the rules in~\ref{over.match}.
32583258
\end{note}
@@ -3281,7 +3281,7 @@
32813281

32823282
\pnum
32833283
\begin{note}
3284-
If a function or member function name is used, and name
3284+
If a function name is used, and name
32853285
lookup\iref{basic.lookup} does not find a declaration of that name,
32863286
the program is ill-formed. No function is implicitly declared by such a
32873287
call.

source/templates.tex

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5716,10 +5716,8 @@
57165716
a member of a class template, or a class member template,
57175717
the variable or class that is explicitly specialized
57185718
shall be specified with a \grammarterm{simple-template-id}.
5719-
In the explicit specialization declaration for a function template or
5720-
a member function template,
5721-
the function or member function explicitly specialized may be specified
5722-
using a \grammarterm{template-id}.
5719+
In the explicit specialization declaration for a function template,
5720+
the function explicitly specialized may be specified using a \grammarterm{template-id}.
57235721
\begin{example}
57245722
\begin{codeblock}
57255723
template<class T = int> struct A {
@@ -6087,7 +6085,7 @@
60876085
\end{example}
60886086

60896087
\pnum
6090-
If a function template or a member function template specialization is used in
6088+
If a function template specialization is used in
60916089
a way that involves overload resolution,
60926090
a declaration of the specialization is implicitly instantiated\iref{temp.over}.
60936091

0 commit comments

Comments
 (0)