tmp/tmp28k6wpzz/{from.md → to.md}
RENAMED
|
@@ -1,12 +1,14 @@
|
|
| 1 |
### Binary operators <a id="over.binary">[[over.binary]]</a>
|
| 2 |
|
|
|
|
|
|
|
| 3 |
A *binary operator function* is a function named `operator@` for a
|
| 4 |
binary operator `@` that is either a non-static member function
|
| 5 |
-
[[class.mfct]] with one parameter or a non-member function
|
| 6 |
-
parameters. For an expression `x @ y` with subexpressions x and
|
| 7 |
-
operator function is selected by overload resolution
|
| 8 |
[[over.match.oper]]. If a member function is selected, the expression is
|
| 9 |
interpreted as
|
| 10 |
|
| 11 |
``` bnf
|
| 12 |
x '.' operator '@' '(' y ')'
|
|
|
|
| 1 |
### Binary operators <a id="over.binary">[[over.binary]]</a>
|
| 2 |
|
| 3 |
+
#### General <a id="over.binary.general">[[over.binary.general]]</a>
|
| 4 |
+
|
| 5 |
A *binary operator function* is a function named `operator@` for a
|
| 6 |
binary operator `@` that is either a non-static member function
|
| 7 |
+
[[class.mfct]] with one non-object parameter or a non-member function
|
| 8 |
+
with two parameters. For an expression `x @ y` with subexpressions x and
|
| 9 |
+
y, the operator function is selected by overload resolution
|
| 10 |
[[over.match.oper]]. If a member function is selected, the expression is
|
| 11 |
interpreted as
|
| 12 |
|
| 13 |
``` bnf
|
| 14 |
x '.' operator '@' '(' y ')'
|