Optional values
Technical Specifications » Library Fundamentals TS
Collaboration diagram for Optional values:

## Classes

struct | std::experimental::fundamentals_v1::in_place_t
class | std::experimental::fundamentals_v1::optional< _Tp >

## Macros

#define | __cpp_lib_experimental_optional

## Variables

constexpr in_place_t | std::experimental::in_place
constexpr nullopt_t | std::experimental::nullopt

## Detailed Description

Class template for optional values and surrounding facilities, as described in n3793 "A proposal to add a utility class to represent optional objects (Revision 5)".

## Variable Documentation

## in_place

constexpr in_place_t std::experimental::fundamentals_v1::in_place

constexpr

Tag for in-place construction.

Definition at line 77 of file experimental/optional.

## nullopt

constexpr nullopt_t std::experimental::fundamentals_v1::nullopt

constexpr

Tag to disengage optional objects.

Definition at line 96 of file experimental/optional.