bsl::optional::optional

Create a disengaged optional object. Use the currently installed default allocator to supply memory. This constructor can be called in constant expressions only when t_TYPE is not allocator-aware.

Synopsis

Declared in <bslstl_optional.h>

constexpr
optional() noexcept;