tmp/tmpg3tgw083/{from.md → to.md}
RENAMED
|
@@ -1,31 +1,35 @@
|
|
| 1 |
## Overloading <a id="gram.over">[[gram.over]]</a>
|
| 2 |
|
| 3 |
``` bnf
|
| 4 |
postfix-expression:
|
| 5 |
postfix-expression '.' id-expression
|
|
|
|
| 6 |
postfix-expression '->' id-expression
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
```
|
| 9 |
|
| 10 |
``` bnf
|
| 11 |
operator-function-id:
|
| 12 |
operator operator
|
| 13 |
```
|
| 14 |
|
| 15 |
``` bnf
|
| 16 |
%% Ed. note: character protrusion would misalign various operators.
|
|
|
|
| 17 |
operator: one of
|
| 18 |
'new delete new[] delete[] co_await ( ) [ ] -> ->*'
|
| 19 |
'~ ! + - * / % ^ &'
|
| 20 |
'| = += -= *= /= %= ^= &='
|
| 21 |
'|= == != < > <= >= <=> &&'
|
| 22 |
'|| << >> <<= >>= ++ -- ,'
|
| 23 |
```
|
| 24 |
|
| 25 |
``` bnf
|
| 26 |
literal-operator-id:
|
| 27 |
-
operator
|
| 28 |
operator user-defined-string-literal
|
| 29 |
```
|
| 30 |
|
| 31 |
|
|
|
|
| 1 |
## Overloading <a id="gram.over">[[gram.over]]</a>
|
| 2 |
|
| 3 |
``` bnf
|
| 4 |
postfix-expression:
|
| 5 |
postfix-expression '.' id-expression
|
| 6 |
+
postfix-expression '.' splice-expression
|
| 7 |
postfix-expression '->' id-expression
|
| 8 |
+
postfix-expression '->' splice-expression
|
| 9 |
+
id-expression
|
| 10 |
+
splice-expression
|
| 11 |
```
|
| 12 |
|
| 13 |
``` bnf
|
| 14 |
operator-function-id:
|
| 15 |
operator operator
|
| 16 |
```
|
| 17 |
|
| 18 |
``` bnf
|
| 19 |
%% Ed. note: character protrusion would misalign various operators.
|
| 20 |
+
|
| 21 |
operator: one of
|
| 22 |
'new delete new[] delete[] co_await ( ) [ ] -> ->*'
|
| 23 |
'~ ! + - * / % ^ &'
|
| 24 |
'| = += -= *= /= %= ^= &='
|
| 25 |
'|= == != < > <= >= <=> &&'
|
| 26 |
'|| << >> <<= >>= ++ -- ,'
|
| 27 |
```
|
| 28 |
|
| 29 |
``` bnf
|
| 30 |
literal-operator-id:
|
| 31 |
+
operator unevaluated-string identifier
|
| 32 |
operator user-defined-string-literal
|
| 33 |
```
|
| 34 |
|
| 35 |
|