[#BloombergLP-bslstl-Optional_DataImp-emplace-07] = 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` 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_ARGS> t_TYPE& emplace( xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator, t_ARGS&&... args); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#