[#BloombergLP-bdlma-LocalBufferedObject-emplace-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/LocalBufferedObject.adoc[LocalBufferedObject]::emplace
:relfileprefix: ../../../
:mrdocs:

`emplace` overloads

== Synopses

Declared in `&lt;bdlma&lowbar;localbufferedobject&period;h&gt;`

Replace the held object with one constructed from `il`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INIT&lowbar;LIST&lowbar;TYPE&gt;
void
xref:BloombergLP/bdlma/LocalBufferedObject/emplace-09.adoc[emplace](std::initializer&lowbar;list&lt;INIT&lowbar;LIST&lowbar;TYPE&gt; il);
----

[.small]#xref:BloombergLP/bdlma/LocalBufferedObject/emplace-09.adoc[_» more&period;&period;&period;_]#

Replace the held object with one constructed from `args`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class&period;&period;&period; ARGS&gt;
void
xref:BloombergLP/bdlma/LocalBufferedObject/emplace-01.adoc[emplace](ARGS&&&period;&period;&period; args);
----

[.small]#xref:BloombergLP/bdlma/LocalBufferedObject/emplace-01.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *il*
| initializer list used to construct the new held object
| *args*
| constructor arguments for the new held object
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
