From Jason Turner

[coroutine.handle.promise]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpfjo1_etu/{from.md → to.md} +10 -0
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
+