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