opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
osc::cpp20::stop_token Class Referencefinal

#include <stop_token.h>

Public Member Functions

 stop_token (std::shared_ptr< std::atomic< bool > > shared_state)
 
 stop_token (stop_token const &)=delete
 
 stop_token (stop_token &&) noexcept=default
 
stop_tokenoperator= (stop_token const &)=delete
 
stop_tokenoperator= (stop_token &&) noexcept=delete
 
 ~stop_token () noexcept=default
 
bool stop_requested () const noexcept
 

Constructor & Destructor Documentation

◆ stop_token() [1/3]

osc::cpp20::stop_token::stop_token ( std::shared_ptr< std::atomic< bool > >  shared_state)
inlineexplicit

◆ stop_token() [2/3]

osc::cpp20::stop_token::stop_token ( stop_token const )
delete

◆ stop_token() [3/3]

osc::cpp20::stop_token::stop_token ( stop_token &&  )
defaultnoexcept

◆ ~stop_token()

osc::cpp20::stop_token::~stop_token ( )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

stop_token & osc::cpp20::stop_token::operator= ( stop_token &&  )
deletenoexcept

◆ operator=() [2/2]

stop_token & osc::cpp20::stop_token::operator= ( stop_token const )
delete

◆ stop_requested()

bool osc::cpp20::stop_token::stop_requested ( ) const
inlinenoexcept

The documentation for this class was generated from the following file: