[#BloombergLP-ball-DefaultAttributeContainer-2constructor-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/DefaultAttributeContainer.adoc[DefaultAttributeContainer]::DefaultAttributeContainer
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;ball&lowbar;defaultattributecontainer&period;h&gt;`

Create an empty `DefaultAttributeContainer` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/DefaultAttributeContainer/2constructor-09.adoc[DefaultAttributeContainer]();
----

[.small]#xref:BloombergLP/ball/DefaultAttributeContainer/2constructor-09.adoc[_» more&period;&period;&period;_]#

Same as the default constructor, using the specified `allocator`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/ball/DefaultAttributeContainer/2constructor-02.adoc[DefaultAttributeContainer](xref:BloombergLP/ball/DefaultAttributeContainer/allocator_type.adoc[allocator&lowbar;type] const& allocator);
----

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

Create a `DefaultAttributeContainer` object having the same value as the specified `original` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/DefaultAttributeContainer/2constructor-03.adoc[DefaultAttributeContainer](
    xref:BloombergLP/ball/DefaultAttributeContainer.adoc[DefaultAttributeContainer] const& original,
    xref:BloombergLP/ball/DefaultAttributeContainer/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

[.small]#xref:BloombergLP/ball/DefaultAttributeContainer/2constructor-03.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *allocator*
| allocator to supply memory
| *original*
| container to copy
|===


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