tmp/tmpq5bb9wwy/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
##### General <a id="over.match.call.general">[[over.match.call.general]]</a>
|
| 2 |
+
|
| 3 |
+
In a function call [[expr.call]]
|
| 4 |
+
|
| 5 |
+
``` bnf
|
| 6 |
+
postfix-expression '(' expression-listₒₚₜ ')'
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
if the *postfix-expression* names at least one function or function
|
| 10 |
+
template, overload resolution is applied as specified in
|
| 11 |
+
[[over.call.func]]. If the *postfix-expression* denotes an object of
|
| 12 |
+
class type, overload resolution is applied as specified in
|
| 13 |
+
[[over.call.object]].
|
| 14 |
+
|
| 15 |
+
If the *postfix-expression* is the address of an overload set, overload
|
| 16 |
+
resolution is applied using that set as described above.
|
| 17 |
+
|
| 18 |
+
[*Note 1*: No implied object argument is added in this
|
| 19 |
+
case. — *end note*]
|
| 20 |
+
|
| 21 |
+
If the function selected by overload resolution is an implicit object
|
| 22 |
+
member function, the program is ill-formed.
|
| 23 |
+
|
| 24 |
+
[*Note 2*: The resolution of the address of an overload set in other
|
| 25 |
+
contexts is described in [[over.over]]. — *end note*]
|
| 26 |
+
|