tmp/tmpavcug3ia/{from.md → to.md}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
### Yielding a value <a id="expr.yield">[[expr.yield]]</a>
|
| 2 |
|
| 3 |
``` bnf
|
| 4 |
yield-expression:
|
| 5 |
-
|
| 6 |
-
|
| 7 |
```
|
| 8 |
|
| 9 |
A *yield-expression* shall appear only within a suspension context of a
|
| 10 |
function [[expr.await]]. Let *e* be the operand of the
|
| 11 |
*yield-expression* and *p* be an lvalue naming the promise object of the
|
|
|
|
| 1 |
### Yielding a value <a id="expr.yield">[[expr.yield]]</a>
|
| 2 |
|
| 3 |
``` bnf
|
| 4 |
yield-expression:
|
| 5 |
+
co_yield assignment-expression
|
| 6 |
+
co_yield braced-init-list
|
| 7 |
```
|
| 8 |
|
| 9 |
A *yield-expression* shall appear only within a suspension context of a
|
| 10 |
function [[expr.await]]. Let *e* be the operand of the
|
| 11 |
*yield-expression* and *p* be an lvalue naming the promise object of the
|