[#BloombergLP-bdlb-NullableAllocatedValue-emplace-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue]::emplace :relfileprefix: ../../../ :mrdocs: Destroy any contained value and construct a new one in place. == Synopses Declared in `<bdlb_nullableallocatedvalue.h>` Destroy any contained value and construct a new one in place. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class... ARGS> TYPE& xref:BloombergLP/bdlb/NullableAllocatedValue/emplace-07.adoc[emplace](ARGS&&... args); ---- [.small]#xref:BloombergLP/bdlb/NullableAllocatedValue/emplace-07.adoc[_» more..._]# Destroy any contained value and construct a new one in place. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class INIT_LIST_TYPE, class... ARGS> TYPE& xref:BloombergLP/bdlb/NullableAllocatedValue/emplace-0e.adoc[emplace]( std::initializer_list<INIT_LIST_TYPE> il, ARGS&&... args); ---- [.small]#xref:BloombergLP/bdlb/NullableAllocatedValue/emplace-0e.adoc[_» more..._]# == Return Value modifiable reference to the created value == Parameters [cols="1,4"] |=== | Name| Description | *args* | arguments forwarded to construct the contained value | *il* | initializer list forwarded to construct the contained value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#