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