.TH "std::stop_token" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::stop_token \- Allow testing whether a stop request has been made on a \fCstop_source\fP\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBstop_token\fP (const \fBstop_token\fP &) noexcept=\fBdefault\fP" .br .ti -1c .RI "\fBstop_token\fP (\fBstop_token\fP &&) noexcept=\fBdefault\fP" .br .ti -1c .RI "\fBstop_token\fP & \fBoperator=\fP (const \fBstop_token\fP &) noexcept=\fBdefault\fP" .br .ti -1c .RI "\fBstop_token\fP & \fBoperator=\fP (\fBstop_token\fP &&) noexcept=\fBdefault\fP" .br .ti -1c .RI "bool \fBstop_possible\fP () const noexcept" .br .ti -1c .RI "bool \fBstop_requested\fP () const noexcept" .br .ti -1c .RI "\fBvoid\fP \fBswap\fP (\fBstop_token\fP &\fB__rhs\fP) noexcept" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "bool \fBoperator==\fP (const \fBstop_token\fP &__a, const \fBstop_token\fP &__b)" .br .ti -1c .RI "template<\fBtypename\fP _Callback > \fBclass\fP \fBstop_callback\fP" .br .ti -1c .RI "\fBclass\fP \fBstop_source\fP" .br .ti -1c .RI "\fBvoid\fP \fBswap\fP (\fBstop_token\fP &\fB__lhs\fP, \fBstop_token\fP &\fB__rhs\fP) noexcept" .br .in -1c .SH "Detailed Description" .PP Allow testing whether a stop request has been made on a \fCstop_source\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.