Create a ManagedAttribute object having the specified name and value.

Synopsis

Declared in <ball_managedattribute.h>

ManagedAttribute(
    std::string_view const& name,
    Attribute::Value 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

Name

Description

name

attribute name

value

attribute value variant

allocator

allocator used to supply memory

Created with MrDocs