Return a stop_token that refers to the stop state (or lack thereof) that *this refers to.

Synopsis

Declared in <bslstl_stoptoken.h>

[[nodiscard]]
stop_token
get_token() const noexcept;

Return Value

Note

The return value should not be discarded.

Created with MrDocs