[#BloombergLP-ball-ScopedAttribute_Container-2constructor-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/ScopedAttribute_Container.adoc[ScopedAttribute&lowbar;Container]::ScopedAttribute&lowbar;Container
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Same as the preceding overload, using the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-084.adoc[ScopedAttribute&lowbar;Container](
    char const* name,
    xref:BloombergLP/bdlb/Guid.adoc[bdlb::Guid] value,
    xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

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

Same as the preceding overload, using the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-05.adoc[ScopedAttribute&lowbar;Container](
    char const* name,
    int value,
    xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

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

Same as the preceding overload, using the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-09.adoc[ScopedAttribute&lowbar;Container](
    char const* name,
    long value,
    xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

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

Same as the preceding overload, using the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0d.adoc[ScopedAttribute&lowbar;Container](
    char const* name,
    long long value,
    xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

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

Same as the preceding overload, using the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-08b.adoc[ScopedAttribute&lowbar;Container](
    char const* name,
    unsigned int value,
    xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

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

Same as the preceding overload, using the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0a5.adoc[ScopedAttribute&lowbar;Container](
    char const* name,
    unsigned long value,
    xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

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

Same as the preceding overload, using the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0b.adoc[ScopedAttribute&lowbar;Container](
    char const* name,
    unsigned long long value,
    xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

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

Create a BALL attribute container holding a single rule, associating the specified `name` with the specified `value`&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/ScopedAttribute_Container/2constructor-076.adoc[ScopedAttribute&lowbar;Container](
    char const* name,
    std::string&lowbar;view const& value,
    xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

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

Same as the preceding overload, using the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0a8.adoc[ScopedAttribute&lowbar;Container](
    char const* name,
    char const* value,
    xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

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

Same as the preceding overload, using the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-073.adoc[ScopedAttribute&lowbar;Container](
    char const* name,
    void const* value,
    xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

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


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