This class is a mechanism for observing cancellation requests. An object of this class either has (possibly shared) ownership of a stop state and can be used to observe whether a cancellation request has been made on that stop state, or does not own a stop state. A stop_token cannot be used to make a cancellation request.
Synopsis
Declared in <bslstl_stoptoken.h>
class stop_token;
Type Aliases
Name |
Description |
Alias for |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. |
Assignment operators |
|
Return |
|
Return |
|
Set |
Friends
Name |
Description |
Set |
|
Return |
|
This class holds an object or reference of type |
|
This class is a mechanism for making and observing cancellation requests. An object of this class may have (possibly shared) ownership of a stop state, in which case it can be used to make a cancellation request or observe whether a cancellation request has been made on the owned stop state; it is also possible for a |
Created with MrDocs