Create a ManagedAttribute object having the value of the specified attribute.
Declared in <ball_managedattribute.h>
explicit
ManagedAttribute(
Attribute const& attribute,
allocator_type const& allocator = allocator_type());
Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.
| Name | Description |
|---|---|
| attribute | attribute to copy |
| allocator | allocator used to supply memory |