std::stop_source::swap
From cppreference.com
< cpp | thread | stop source
C++
Concurrency support library
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::stop_source
| Member functions | ||||
| Modifiers | ||||
stop_source::swap | ||||
| Observers | ||||
| Non-member functions | ||||
| Helper tags | ||||
| void swap( std::stop_source& other ) noexcept; |
(since C++20) | |
Exchanges the stop-state of *this and other.
[edit] Parameters
| other | - | stop_source to exchange the contents with
|
[edit] Return value
(none)