Replace the held object with one constructed from args.

Synopsis

Declared in <bdlma_localbufferedobject.h>

template<class... ARGS>
void
emplace(ARGS&&... args);

Description

Destroy the value_type object unless t_DISABLE_DESTRUCTION is true, then release all allocated memory, the re‐construct a new value_type object using the specified args and using the sequential allocator based on the local stack buffer.

Parameters

Name

Description

args

constructor arguments for the new held object

Created with MrDocs