12
Overloading
[over]
12.4
Overload resolution
[over.match]
12.4.2
Candidate functions and argument lists
[over.match.funcs]
12.4.2.2
Function call syntax
[over.match.call]
12.4.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
.
If the function selected by overload resolution is a non-static member function, the program is ill-formed
.
[
Note
1
:
The resolution of the address of an overload set in other contexts is described in
[over.
over]
.
—
end note
]