From Jason Turner

[coroutine.handle.observers]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpe8rng2c4/{from.md → to.md} +17 -0
tmp/tmpe8rng2c4/{from.md → to.md} RENAMED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Observers <a id="coroutine.handle.observers">[[coroutine.handle.observers]]</a>
2
+
3
+ ``` cpp
4
+ constexpr explicit operator bool() const noexcept;
5
+ ```
6
+
7
+ *Returns:* `address() != nullptr`.
8
+
9
+ ``` cpp
10
+ bool done() const;
11
+ ```
12
+
13
+ *Preconditions:* `*this` refers to a suspended coroutine.
14
+
15
+ *Returns:* `true` if the coroutine is suspended at its final suspend
16
+ point, otherwise `false`.
17
+