[#BloombergLP-ball-Attribute-2constructor-0be] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Attribute.adoc[Attribute]::Attribute :relfileprefix: ../../../ :mrdocs: Create an `Attribute` object having the specified (literal) `name` and `value`. Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the default allocator is used. Note that `name` is not managed by this object and therefore must remain valid while in use by any `Attribute` object. == Synopsis Declared in `<ball_attribute.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Attribute( char const* name, int value, xref:BloombergLP/ball/Attribute/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#