Compares the referenced values of two `optional_ref`s.
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 both are empty or both hold equal values.
Parameters
Name |
Description |
a |
The left operand. |
b |
The right operand. |
Created with MrDocs