Function Subspace :: sus :: result :: operator==
auto operator==(const Result<T, E>& l, const Result<T, E>& r) -> bool
requires
sus::cmp::__private::VoidOrEq<T>
sus::cmp::Eq<E>
Compares two Result
s for equality if the types
inside satisfy Eq
.
Satisfies the Eq
concept.
Implementation Note
The non-template overload allows ok/err marker types to convert to Option for comparison.