[#BloombergLP-bslstl-Optional_DataImp-emplace-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Optional_DataImp.adoc[Optional_DataImp]::emplace :relfileprefix: ../../../ :mrdocs: Create an object of `StoredType` in `d_buffer` using the specified `allocator`, `initializer_list`, and `args`, and return a reference providing modifiable access to the underlying `t_TYPE` object. == Synopsis Declared in `<bslstl_optional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_INIT_LIST_TYPE, class... t_ARGS> t_TYPE& emplace( xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator, std::initializer_list<t_INIT_LIST_TYPE> initializer_list, t_ARGS&&... args); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#