Destroy any contained value and construct a new one in place.
Synopses
Declared in <bdlb_nullableallocatedvalue.h>
Destroy any contained value and construct a new one in place.
template<class... ARGS>
TYPE&
emplace(ARGS&&... args);
Destroy any contained value and construct a new one in place.
template<
class INIT_LIST_TYPE,
class... ARGS>
TYPE&
emplace(
std::initializer_list<INIT_LIST_TYPE> il,
ARGS&&... args);
Return Value
modifiable reference to the created value
Parameters
Name |
Description |
args |
arguments forwarded to construct the contained value |
il |
initializer list forwarded to construct the contained value |
Created with MrDocs