[#BloombergLP-ball-ScopedAttribute_Container-2constructor-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/ScopedAttribute_Container.adoc[ScopedAttribute_Container]::ScopedAttribute_Container :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<ball_scopedattribute.h>` Same as the preceding overload, using the specified `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-084.adoc[ScopedAttribute_Container]( char const* name, xref:BloombergLP/bdlb/Guid.adoc[bdlb::Guid] value, xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-084.adoc[_» more..._]# Same as the preceding overload, using the specified `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-05.adoc[ScopedAttribute_Container]( char const* name, int value, xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-05.adoc[_» more..._]# Same as the preceding overload, using the specified `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-09.adoc[ScopedAttribute_Container]( char const* name, long value, xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-09.adoc[_» more..._]# Same as the preceding overload, using the specified `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0d.adoc[ScopedAttribute_Container]( char const* name, long long value, xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0d.adoc[_» more..._]# Same as the preceding overload, using the specified `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-08b.adoc[ScopedAttribute_Container]( char const* name, unsigned int value, xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-08b.adoc[_» more..._]# Same as the preceding overload, using the specified `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0a5.adoc[ScopedAttribute_Container]( char const* name, unsigned long value, xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0a5.adoc[_» more..._]# Same as the preceding overload, using the specified `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0b.adoc[ScopedAttribute_Container]( char const* name, unsigned long long value, xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0b.adoc[_» more..._]# Create a BALL attribute container holding a single rule, associating the specified `name` with the specified `value`. Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-076.adoc[ScopedAttribute_Container]( char const* name, std::string_view const& value, xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-076.adoc[_» more..._]# Same as the preceding overload, using the specified `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0a8.adoc[ScopedAttribute_Container]( char const* name, char const* value, xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-0a8.adoc[_» more..._]# Same as the preceding overload, using the specified `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-073.adoc[ScopedAttribute_Container]( char const* name, void const* value, xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-073.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#