std::stop_token
Allow testing whether a stop request has been made on a stop_source.
- Provided by: libstdc++-14-doc (Version: 14.2.0-4ubuntu2~24.04.1)
- Source: gcc-14
- Report a bug
Allow testing whether a stop request has been made on a stop_source.
#include <stop_token>
stop_token (const stop_token &)
noexcept=default
stop_token (stop_token &&) noexcept=default
stop_token & operator= (const stop_token
&) noexcept=default
stop_token & operator= (stop_token &&)
noexcept=default
bool stop_possible () const noexcept
bool stop_requested () const noexcept
void swap (stop_token &__rhs) noexcept
bool operator== (const stop_token &__a,
const stop_token &__b)
template<typename _Callback > class stop_callback
class stop_source
void swap (stop_token &__lhs,
stop_token &__rhs) noexcept
Allow testing whether a stop request has been made on a stop_source.
Generated automatically by Doxygen for libstdc++ from the source code.