[#BloombergLP-bslstl-Optional_Base-08-2constructor-02b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Optional_Base-08.adoc[Optional_Base<t_TYPE, false>]::Optional_Base :relfileprefix: ../../../ :mrdocs: Create an `Optional_Base` with an in‐place constructed value. == Synopsis Declared in `<bslstl_optional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_INIT_LIST_TYPE, class... t_ARGS> Optional_Base( std::allocator_arg_t allocatorArg, xref:BloombergLP/bslstl/Optional_Base-08/AllocType.adoc[AllocType] allocator, std::in_place_t inPlace, std::initializer_list<t_INIT_LIST_TYPE> il, t_ARGS&&... args); ---- == 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 value | *il* | initializer list forwarded to construct the contained value | *args* | arguments forwarded to construct the contained value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#