operator==(std::stop_source)

Compares two stop_source values.

# Declarations

friend bool operator==( const stop_source& lhs, const stop_source& rhs ) noexcept;

(since C++20)

# Parameters

# Return value

true if lhs and rhs have the same stop-state, or both have no stop-state, otherwise false.