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
expectedtype rhs.- Template Parameters
TValueLhs – A value which is comparable to
TValueRhs. If it is eithervoidor a non-comparable type, it is an error in the immediate context (not SFINAE-safe).