.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 <stop_token>\fP
.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<typename _Callback > 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\&.
