omni::operator==
Defined in omni/Expected.h
-
template<typename TValueLhs, typename TErrorLhs, typename TValueRhs>
constexpr bool omni::operator==(expected<TValueLhs, TErrorLhs> const &lhs, TValueRhs const &rhs) Compare the contents of lhs with the non
expected
type rhs.- Template Parameters
TValueLhs – A value which is comparable to
TValueRhs
. If it is eithervoid
or a non-comparable type, it is an error in the immediate context (not SFINAE-safe).