[#bsl-optional-072-2constructor-0e] = xref:bsl.adoc[bsl]::xref:bsl/optional-072.adoc[optional]::optional :relfileprefix: ../../ :mrdocs: Create a disengaged `optional` object. Use the specified `allocator` to supply memory. == Synopsis Declared in `<bslstl_optional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- optional( std::allocator_arg_t, xref:bsl/optional-072.adoc[AllocType] allocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#