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.

Synopsis

Declared in <bslstl_stoptoken.h>

stop_token(BloombergLP::bslmf::MovableRef<stop_token> original) noexcept;

Created with MrDocs