tmp/tmpfjo1_etu/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Promise access <a id="coroutine.handle.promise">[[coroutine.handle.promise]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
Promise& promise() const;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Preconditions:* `*this` refers to a coroutine.
|
| 8 |
+
|
| 9 |
+
*Returns:* A reference to the promise of the coroutine.
|
| 10 |
+
|