operator!=#

Fully qualified name: 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 and rhs for inequality.

Parameters:
  • lhs – An omni::expected.

  • rhs – A value that is comparable with the TValue type of lhs.

Returns:

true if the expected types are not equal, false if they are equal.