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

Name

Description

lhs

The left‐hand operand.

rhs

The right‐hand operand.

Created with MrDocs