Namespaces
Variants
Views
Actions

std::nullopt_t

From cppreference.com
< cpp‎ | experimental‎ | optional
Revision as of 16:54, 1 July 2013 by P12bot (Talk | contribs)

Defined in header <optional>
struct nullopt_t {};
(since C++14)

std::nullopt_t is an empty class type used to indicate optional type with uninitialized state.

See also

(C++17)
an object of type nullopt_t
(constant) [edit]