Create an Optional_Base object whose contained value is initialized from the specified args.
Synopsis
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);
Description
Use the specified allocator to supply memory.
Parameters
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 |
Created with MrDocs