Create a ManagedAttribute object having the specified name and value.
Synopsis
Declared in <ball_managedattribute.h>
ManagedAttribute(
std::string_view const& name,
int 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 |
integer attribute value |
allocator |
allocator used to supply memory |
Created with MrDocs