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