Create an Attribute object having the specified (literal) name and (character string) value. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used. Note that name is not managed by this object and therefore must remain valid while in use by any Attribute object.

Synopsis

Declared in <ball_attribute.h>

Attribute(
    char const* name,
    std::string_view const& value,
    allocator_type const& allocator = allocator_type());

Created with MrDocs