std::stop_source
A type that allows a stop request to be made.
- Provided by: libstdc++-14-doc (Version: 14.2.0-4ubuntu2~24.04.1)
- Source: gcc-14
- Report a bug
A type that allows a stop request to be made.
#include <stop_token>
stop_source (const stop_source &__other)
noexcept
stop_source (std::nostopstate_t) noexcept
stop_source (stop_source &&) noexcept=default
stop_token get_token () const noexcept
stop_source & operator= (const stop_source
&__other) noexcept
stop_source & operator= (stop_source &&)
noexcept=default
bool request_stop () const noexcept
bool stop_possible () const noexcept
bool stop_requested () const noexcept
void swap (stop_source &__other) noexcept
bool operator== (const stop_source &__a,
const stop_source &__b) noexcept
void swap (stop_source &__lhs,
stop_source &__rhs) noexcept
A type that allows a stop request to be made.
Generated automatically by Doxygen for libstdc++ from the source code.