Constructors

Synopses

Declared in <bdlma_localbufferedobject.h>

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 default allocator to supply additional heap memory.

template<class INIT_LIST_TYPE>
LocalBufferedObject(std::initializer_list<INIT_LIST_TYPE> il);

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 default allocator to supply additional heap memory.

template<class... ARGS>
explicit
LocalBufferedObject(ARGS&&... args);

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.

template<class INIT_LIST_TYPE>
LocalBufferedObject(
    std::allocator_arg_t,
    allocator_type allocator,
    std::initializer_list<INIT_LIST_TYPE> il);

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.

template<class... ARGS>
LocalBufferedObject(
    std::allocator_arg_t,
    allocator_type allocator,
    ARGS&&... args);

Created with MrDocs