Create an Optional_Base with an in-place constructed value.
Declared in <bslstl_optional.h>
template<class... t_ARGS>
Optional_Base(
std::allocator_arg_t allocatorArg,
AllocType allocator,
std::in_place_t inPlace,
t_ARGS&&... args);
| Name | Description |
|---|---|
| allocatorArg | tag selecting the allocator-extended constructor |
| allocator | allocator used to supply memory |
| inPlace | tag selecting in-place construction of the contained value |
| args | arguments forwarded to construct the contained value |