BloombergLP::ball::Attribute::Attribute

Create an Attribute object having the specified (literal) name and (const-qualified void pointer) value.

Synopsis

Declared in <ball_attribute.h>

Attribute(
    char const* name,
    void const* value,
    allocator_type const& allocator = allocator_type());

Description

Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.

Parameters

NameDescription
nameliteral attribute name
valueconst-qualified void pointer attribute value
allocatorallocator used to supply memory