.TH "std::stop_token" 3 "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::stop_token \- Allow testing whether a stop request has been made on a \fRstop_source\fP\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBstop_token\fP (\fBconst\fP \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 (\fBconst\fP \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 () \fBconst\fP noexcept" .br .ti -1c .RI "bool \fBstop_requested\fP () \fBconst\fP 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 (\fBconst\fP \fBstop_token\fP &__a, \fBconst\fP \fBstop_token\fP &__b)" .br .ti -1c .RI "template \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 \fRstop_source\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.