Namespaces
Variants
Actions

std::stop_source::swap

From cppreference.com
< cpp‎ | thread‎ | stop source
 
 
Concurrency support library
(C++11)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++17)
(C++11)
(C++11)
(C++17)
(C++11)
(C++14)
(C++11)
(C++11)
(C++11)
(C++11)
(C++20)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++26)
(C++26)
(C++26)
(C++26)
(C++11)
(C++20)
(C++11)
(C++11)(deprecated in C++20)
(C++11)(deprecated in C++20)
(C++11)
(C++11)(deprecated in C++26)
 
 
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)

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/thread/stop_source/swap&oldid=161263"

AltStyle によって変換されたページ (->オリジナル) /