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

Name

Description

original

attribute to copy

allocator

allocator used to supply memory

Created with MrDocs