GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::stop_token::stop_token(3) C++ Standard Libary std::stop_token::stop_token(3)

std::stop_token::stop_token - std::stop_token::stop_token


stop_token() noexcept; (1) (since C++20)
stop_token( const stop_token& other ) noexcept; (2) (since C++20)
stop_token( stop_token&& other ) noexcept; (3) (since C++20)


Constructs a new stop_token object.


1) Constructs an empty stop_token with no associated stop-state.
2) Copy constructor. Constructs a stop_token whose associated stop-state is the same
as that of other.
3) Move constructor. Constructs a stop_token whose associated stop-state is the same
as that of other; other is left empty.


other - another stop_token object to construct this stop_token object with


1) stop_possible() and stop_requested() are both false
2) *this and other share the same associated stop-state and compare equal
3) *this has other's previously associated stop-state, and other.stop_possible() is
false

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.