[#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; Optionally specify an `allocator` (e&period;g&period;, the address of a `bslma&colon;&colon;Allocator` object) to supply memory&semi; otherwise, the default allocator is used&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; Optionally specify an `allocator` (e&period;g&period;, the address of a `bslma&colon;&colon;Allocator` object) to supply memory&semi; otherwise, the default allocator is used&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;_]#


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