Create an Optional_Base by copying from a std::optional.
Synopsis
Declared in <bslstl_optional.h>
template<class t_ANY_TYPE>
Optional_Base(
std::allocator_arg_t allocatorArg,
AllocType allocator,
BloombergLP::bslstl::Optional_CopyConstructFromStdOptional tag,
std::optional<t_ANY_TYPE> const& original);
Parameters
Name |
Description |
allocatorArg |
tag selecting the allocator‐extended constructor |
allocator |
allocator used to supply memory |
tag |
tag selecting this constructor overload |
original |
source optional used to initialize this object |
Created with MrDocs