[#BloombergLP-bslstl-Optional_Base-05-2constructor-0aa] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Optional_Base-05.adoc[Optional_Base]::Optional_Base :relfileprefix: ../../../ :mrdocs: Create an `Optional_Base` object whose contained value is initialized from the specified `args`. == Synopsis Declared in `<bslstl_optional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class... t_ARGS> Optional_Base( std::allocator_arg_t allocatorArg, xref:BloombergLP/bslstl/Optional_Base-05/allocator_type.adoc[allocator_type] allocator, std::in_place_t inPlace, t_ARGS&&... args); ---- == Description Use the specified `allocator` to supply memory. == Parameters [cols="1,4"] |=== | Name| Description | *allocatorArg* | tag selecting the allocator‐extended constructor | *allocator* | allocator used to supply memory | *inPlace* | tag selecting in‐place construction of the contained | *args* | arguments forwarded to construct the contained value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#