bool operator==(const basic_result<A, B, C> &) const
Returns true if this result compares equal to the other result. Comparison is done using
operator== on either
error_type if the currently chosen state is the same for both results, otherwise false is returned.
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.
Free function alias: There is a free function
bool operator==(const basic_result<A, B, C> &, const basic_outcome<A, B, C, D> &) which forwards perfectly to this function, by reversing the operands.