Deleted to forbid a naked nullptr; use std::nullopt instead.

Synopsis

Declared in <absl/types/optional_ref.h>

constexpr
optional_ref(std::nullptr_t input) = delete;

Parameters

Name

Description

input

The nullptr literal.

Created with MrDocs