Create an Optional_Base object whose contained value is initialized by forwarding from the specified value.

Synopsis

Declared in <bslstl_optional.h>

template<class t_ANY_TYPE>
constexpr
Optional_Base(
    BloombergLP::bslstl::Optional_ConstructFromForwardRef tag,
    t_ANY_TYPE&& value);

Parameters

Name

Description

tag

tag selecting this constructor overload

value

value compared with or used to initialize the optional

Created with MrDocs