Create a stop_token by moving from original.
Declared in <bslstl_stoptoken.h>
stop_token(BloombergLP::bslmf::MovableRef<stop_token> original) noexcept;
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.
| Name | Description |
|---|---|
| original | source token that is moved from |