absl::optional_ref::optional_ref

Constructs an empty optional_ref from std::nullopt.

Synopsis

Declared in <absl/types/optional_ref.h>

constexpr
optional_ref(std::nullopt_t input);

Parameters

NameDescription
inputThe std::nullopt tag.