##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# 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.

### [edit] See also

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

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