bool operator==(const basic_result<A, B, C> &) const
Returns true if this outcome compares equal to the other result. Comparison is done using
error_type if the currently chosen state is the same for both outcome and result, otherwise false is returned. Note that if the outcome is excepted, it will never compare equal to a result.
operator== must be a valid expression between
A, and between
void, then so must be
A; similarly for
Complexity: Whatever the underlying
operator== have. Constexpr and noexcept of underlying operations is propagated.