Create a value_type object from il using the specified allocator.
Synopsis
Declared in <bdlma_localbufferedobject.h>
template<class INIT_LIST_TYPE>
LocalBufferedObject(
std::allocator_arg_t allocatorArg,
allocator_type allocator,
std::initializer_list<INIT_LIST_TYPE> il);
Description
Create the value_type object using the specified initializer_list and using the sequential allocator based on a local stack buffer of (template parameter) t_BUFFER_SIZE size; if local stack memory is exausted, use the specified allocator to supply additional heap memory.
Parameters
Name |
Description |
allocatorArg |
allocator‐argument tag |
allocator |
allocator used when the local buffer is exhausted |
il |
initializer list used to construct the object |
Created with MrDocs