12
Overloading
[over]
12.2
Overload resolution
[over.match]
12.2.2
Candidate functions and argument lists
[over.match.funcs]
12.2.2.2
Function call syntax
[over.match.call]
12.2.2.2.1
General
[over.match.call.general]
1
#
In a
function call
postfix-expression
(
expression-list
o
p
t
)
if the
postfix-expression
names at least one function or function template, overload resolution is applied as specified in
[over.
call.
func]
.
If the
postfix-expression
denotes an object of class type, overload resolution is applied as specified in
[over.
call.
object]
.
2
#
If the
postfix-expression
is the address of an overload set, overload resolution is applied using that set as described above
.
[
Note
1
:
No implied object argument is added in this case
.
—
end note
]
If the function selected by overload resolution is an implicit object member function, the program is ill-formed
.
[
Note
2
:
The resolution of the address of an overload set in other contexts is described in
[over.
over]
.
—
end note
]