Create an Optional_Base by moving from a std::optional.

Synopsis

Declared in <bslstl_optional.h>

template<class t_ANY_TYPE>
constexpr
Optional_Base(
    BloombergLP::bslstl::Optional_MoveConstructFromStdOptional tag,
    std::optional<t_ANY_TYPE>&& original);

Parameters

Name

Description

tag

tag selecting this constructor overload

original

source optional used to initialize this object

Created with MrDocs