# std::experimental::nullopt

From cppreference.com
< cpp‎ | experimental‎ | optional

Defined in header `<experimental/optional>` |  |
constexpr nullopt_t nullopt{/*unspecified*/}; |  | (library fundamentals TS)

`std::experimental::nullopt` is a constant of type std::experimental::nullopt_t that is used to indicate `optional` type with uninitialized state.

### See also

nullopt_t (library fundamentals TS) | indicator of optional type with uninitialized state (class)

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/optional/nullopt&oldid=75965"