operator!=#
Fully qualified name: omni::operator!=
Defined in omni/Expected.h
-
template<typename TValueLhs, typename TErrorLhs, typename TErrorRhs>
constexpr bool omni::operator!=( - expected<TValueLhs, TErrorLhs> const &lhs,
- unexpected<TErrorRhs> const &rhs,
Compare the contents of
lhs
andrhs
for inequality.- Parameters:
lhs – An omni::expected.
rhs – An omni::unexpected.
- Returns:
true
if the expected types are not equal,false
if they are equal.