Create a ManagedAttribute object having the specified name and the C‐style value string.

Synopsis

Declared in <ball_managedattribute.h>

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

character‐string attribute value

allocator

allocator used to supply memory

Created with MrDocs