Create a stop_token by moving from original.
Synopsis
Declared in <bslstl_stoptoken.h>
stop_token(BloombergLP::bslmf::MovableRef<stop_token> original) noexcept;
Description
Create a stop_token object that refers to the same stop state (or lack thereof) as the specified original object, and reset original to not refer to a stop state.
Parameters
Name |
Description |
original |
source token that is moved from |
Created with MrDocs