Create a disengaged Optional_Base object if the specified original object is disengaged, and an Optional_Base object with the value of original.value() otherwise. This is a special case constructor where t_ANY_TYPE is a non‐const version of t_TYPE and we use the allocator from original to supply memory. original is left in a valid but unspecified state.
Synopsis
Declared in <bslstl_optional.h>
template<class t_ANY_TYPE>
Optional_Base(
BloombergLP::bslstl::Optional_MoveConstructFromOtherOptional,
BloombergLP::bslmf::MovableRef_Deduced<Optional_Base<t_ANY_TYPE>> original);
Created with MrDocs