Create a BALL attribute container holding a single rule, associating the specified name with the specified value.
Declared in <ball_scopedattribute.h>
ScopedAttribute_Container(
char const* name,
std::string_view const& value,
allocator_type const& allocator = allocator_type());
Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.
| Name | Description |
|---|---|
| name | literal attribute name |
| value | character-string attribute value |
| allocator | allocator used to supply memory |