Scroll to navigation

std::stop_source::swap(3) C++ Standard Libary std::stop_source::swap(3)

NAME

std::stop_source::swap - std::stop_source::swap

Synopsis


void swap( std::stop_source& other ) noexcept; (since C++20)


Exchanges the stop-state of *this and other.

Parameters


other - stop_source to exchange the contents with

Return value


(none)

2022.07.31 http://cppreference.com