.TH "std::stop_token" 3cxx "Tue Jun 13 2023" "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 .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBstop_token\fP (const \fBstop_token\fP &) noexcept=default" .br .ti -1c .RI "\fBstop_token\fP (\fBstop_token\fP &&) noexcept=default" .br .ti -1c .RI "\fBstop_token\fP & \fBoperator=\fP (const \fBstop_token\fP &) noexcept=default" .br .ti -1c .RI "\fBstop_token\fP & \fBoperator=\fP (\fBstop_token\fP &&) noexcept=default" .br .ti -1c .RI "bool \fBstop_possible\fP () const noexcept" .br .ti -1c .RI "bool \fBstop_requested\fP () const noexcept" .br .ti -1c .RI "void \fBswap\fP (\fBstop_token\fP &__rhs) 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 class \fBstop_callback\fP" .br .ti -1c .RI "class \fBstop_source\fP" .br .ti -1c .RI "void \fBswap\fP (\fBstop_token\fP &__lhs, \fBstop_token\fP &__rhs) 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\&.