std::stop_token::operator=
Min standard notice:
Replaces the associated stop-state with that of other.
# Declarations
std::stop_token& operator=( const std::stop_token& other ) noexcept;
(since C++20)
std::stop_token& operator=( std::stop_token&& other ) noexcept;
(since C++20)
# Parameters
other: another stop_token object to share the stop-state with to or acquire the stop-state from