Tests whether a value differs from an optional_ref.
Declared in <absl/types/optional_ref.h>
template<
typename T,
typename U,
typename = /* implementation-defined */>
constexpr
bool
operator!=(
T const& a,
optional_ref<U> b);
true if b does not hold a value equal to a.
| Name | Description |
|---|---|
| a | The value to compare. |
| b | The reference to compare against. |