|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
stop_token::operator= | ||||
| Modifiers | ||||
| Observers | ||||
| Non-member functions | ||||
std::stop_token& operator=(conststd::stop_token& other)noexcept; | (1) | (since C++20) |
std::stop_token& operator=(std::stop_token&& other)noexcept; | (2) | (since C++20) |
Replaces the associated stop-state with that ofother.
| other | - | anotherstop_token object to share the stop-state with to or acquire the stop-state from |