Tests whether an optional_ref holds a value.
Synopsis
Declared in <absl/types/optional_ref.h>
template<typename T>
constexpr
bool
operator!=(
std::nullopt_t a,
optional_ref<T> b);
Return Value
true if b holds a value.
Parameters
Name |
Description |
a |
The |
b |
The reference to test. |
Created with MrDocs