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