tmp/tmpovkqohfc/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Members <a id="stoptoken.mem">[[stoptoken.mem]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
[[nodiscard]] bool stop_requested() const noexcept;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Returns:* `true` if `*this` has ownership of a stop state that has
|
| 8 |
+
received a stop request; otherwise, `false`.
|
| 9 |
+
|
| 10 |
+
``` cpp
|
| 11 |
+
[[nodiscard]] bool stop_possible() const noexcept;
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
*Returns:* `false` if:
|
| 15 |
+
|
| 16 |
+
- `*this` does not have ownership of a stop state, or
|
| 17 |
+
- a stop request was not made and there are no associated `stop_source`
|
| 18 |
+
objects;
|
| 19 |
+
|
| 20 |
+
otherwise, `true`.
|
| 21 |
+
|