[#BloombergLP-bdlma-LocalBufferedObject-2constructor-0f6]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/LocalBufferedObject.adoc[LocalBufferedObject]::LocalBufferedObject
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a `value&lowbar;type` object from `il`&period;


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

[.small]#xref:BloombergLP/bdlma/LocalBufferedObject/2constructor-0f4.adoc[_» more&period;&period;&period;_]#

Create a `value&lowbar;type` object using the specified `args`&period;


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

[.small]#xref:BloombergLP/bdlma/LocalBufferedObject/2constructor-02.adoc[_» more&period;&period;&period;_]#

Create a `value&lowbar;type` object from `il` using the specified allocator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INIT&lowbar;LIST&lowbar;TYPE&gt;
xref:BloombergLP/bdlma/LocalBufferedObject/2constructor-0d.adoc[LocalBufferedObject](
    std::allocator&lowbar;arg&lowbar;t allocatorArg,
    xref:BloombergLP/bdlma/LocalBufferedObject/allocator_type.adoc[allocator&lowbar;type] allocator,
    std::initializer&lowbar;list&lt;INIT&lowbar;LIST&lowbar;TYPE&gt; il);
----

[.small]#xref:BloombergLP/bdlma/LocalBufferedObject/2constructor-0d.adoc[_» more&period;&period;&period;_]#

Create a `value&lowbar;type` object using the specified `args` and allocator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class&period;&period;&period; ARGS&gt;
xref:BloombergLP/bdlma/LocalBufferedObject/2constructor-0f3.adoc[LocalBufferedObject](
    std::allocator&lowbar;arg&lowbar;t allocatorArg,
    xref:BloombergLP/bdlma/LocalBufferedObject/allocator_type.adoc[allocator&lowbar;type] allocator,
    ARGS&&&period;&period;&period; args);
----

[.small]#xref:BloombergLP/bdlma/LocalBufferedObject/2constructor-0f3.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *il*
| initializer list used to construct the object
| *args*
| constructor arguments for the held object
| *allocatorArg*
| allocator&hyphen;argument tag
| *allocator*
| allocator used when the local buffer is exhausted
|===


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