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

Create an Optional_Base by copying from another optional.

Synopsis

Declared in <bslstl_optional.h>

template<class t_ANY_TYPE>
Optional_Base(
    std::allocator_arg_t allocatorArg,
    AllocType allocator,
    BloombergLP::bslstl::Optional_CopyConstructFromOtherOptional tag,
    Optional_Base<t_ANY_TYPE> const& original);

Parameters

NameDescription
allocatorArgtag selecting the allocator-extended constructor
allocatorallocator used to supply memory
tagtag selecting this constructor overload
originalsource optional used to initialize this object