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