absl::operator!=

Checks the inequality of two absl::StatusOr<T> objects.

Synopsis

Declared in <absl/status/statusor.h>

template<typename T>
requires internal_statusor::IsEqualityComparable<T>::value
bool
operator!=(
    StatusOr<T> const& lhs,
    StatusOr<T> const& rhs);

Return Value

true if the operands are not equal.

Parameters

NameDescription
lhsThe left-hand operand.
rhsThe right-hand operand.