Tests whether an optional_ref is empty.
Declared in <absl/types/optional_ref.h>
template<typename T>
constexpr
bool
operator==(
optional_ref<T> a,
std::nullopt_t b);
true if a is empty.
| Name | Description |
|---|---|
| a | The reference to test. |
| b | The std::nullopt tag. |