From Jason Turner

[stoptoken.nonmembers]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpwa1cl23s/{from.md → to.md} +16 -0
tmp/tmpwa1cl23s/{from.md → to.md} RENAMED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Non-member functions <a id="stoptoken.nonmembers">[[stoptoken.nonmembers]]</a>
2
+
3
+ ``` cpp
4
+ [[nodiscard]] bool operator==(const stop_token& lhs, const stop_token& rhs) noexcept;
5
+ ```
6
+
7
+ *Returns:* `true` if `lhs` and `rhs` have ownership of the same stop
8
+ state or if both `lhs` and `rhs` do not have ownership of a stop state;
9
+ otherwise `false`.
10
+
11
+ ``` cpp
12
+ friend void swap(stop_token& x, stop_token& y) noexcept;
13
+ ```
14
+
15
+ *Effects:* Equivalent to: `x.swap(y)`.
16
+