Create a value_type object using the specified args and allocator.
Declared in <bdlma_localbufferedobject.h>
template<class... ARGS>
LocalBufferedObject(
std::allocator_arg_t allocatorArg,
allocator_type allocator,
ARGS&&... args);
Create a value_type object using the specified args that will allocate memory from a sequential allocator based on a local stack buffer of (template parameter) t_BUFFER_SIZE size; if local stack memory is exhausted, use the specified allocator to supply additional heap memory.
| Name | Description |
|---|---|
| allocatorArg | allocator-argument tag |
| allocator | allocator used when the local buffer is exhausted |
| args | constructor arguments for the held object |