Replace the held object with one constructed from il.

Synopsis

Declared in <bdlma_localbufferedobject.h>

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

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 il and using the sequential allocator based on the local stack buffer.

Parameters

Name

Description

il

initializer list used to construct the new held object

Created with MrDocs