BloombergLP::bslstl::Optional_Base<t_TYPE, false>::Optional_Base

Create an Optional_Base with an in-place constructed value.

Synopsis

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);

Parameters

NameDescription
allocatorArgtag selecting the allocator-extended constructor
allocatorallocator used to supply memory
inPlacetag selecting in-place construction of the contained value
argsarguments forwarded to construct the contained value