BloombergLP::bdlma::LocalBufferedObject::LocalBufferedObject

Create a value_type object using the specified args.

Synopsis

Declared in <bdlma_localbufferedobject.h>

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

Description

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.

Parameters

NameDescription
argsconstructor arguments for the held object