BloombergLP::ball::Attribute::Attribute

Create an Attribute object having the same (literal) name and attribute value as the specified original object.

Synopsis

Declared in <ball_attribute.h>

Attribute(
    Attribute const& original,
    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
originalattribute to copy
allocatorallocator used to supply memory