Compares the referenced values of two optional_refs.
Declared in <absl/types/optional_ref.h>
template<
typename T,
typename U>
constexpr
bool
operator==(
optional_ref<T> a,
optional_ref<U> b);
true if both are empty or both hold equal values.
| Name | Description |
|---|---|
| a | The left operand. |
| b | The right operand. |