Namespaces
Variants

std::experimental:: nullopt

From cppreference.net
定义于头文件 <experimental/optional>
constexpr nullopt_t nullopt { /*未指定*/ } ;
(库基础TS)

std::experimental::nullopt 是一个类型为 std::experimental::nullopt_t 的常量,用于表示处于未初始化状态的 optional 类型。

参见

(library fundamentals TS)
表示未初始化状态的可选类型指示符
(类)