Scroll to navigation

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

NAME

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

Synopsis


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


Exchanges the associated stop-state of *this and other.

Parameters


other - stop_token to exchange the contents with

Return value


(none)

2022.07.31 http://cppreference.com