absl::operator!=

Tests whether two optional_refs differ.

Synopsis

Declared in <absl/types/optional_ref.h>

template<
    typename T,
    typename U>
constexpr
bool
operator!=(
    optional_ref<T> a,
    optional_ref<U> b);

Return Value

true if the operands are not equal.

Parameters

NameDescription
aThe left operand.
bThe right operand.