Tests whether two `optional_ref`s 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

Name

Description

a

The left operand.

b

The right operand.

Created with MrDocs