From Jason Turner

[thread.stoptoken.syn]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp3xaqr362/{from.md → to.md} +22 -0
tmp/tmp3xaqr362/{from.md → to.md} RENAMED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Header `<stop_token>` synopsis <a id="thread.stoptoken.syn">[[thread.stoptoken.syn]]</a>
2
+
3
+ ``` cpp
4
+ namespace std {
5
+ // [stoptoken], class stop_token
6
+ class stop_token;
7
+
8
+ // [stopsource], class stop_source
9
+ class stop_source;
10
+
11
+ // no-shared-stop-state indicator
12
+ struct nostopstate_t {
13
+ explicit nostopstate_t() = default;
14
+ };
15
+ inline constexpr nostopstate_t nostopstate{};
16
+
17
+ // [stopcallback], class stop_callback
18
+ template<class Callback>
19
+ class stop_callback;
20
+ }
21
+ ```
22
+