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

Synopsis

Declared in <bslstl_optional.h>

template<class... t_ARGS>
constexpr
explicit
Optional_Base(
    std::in_place_t inPlace,
    t_ARGS&&... args);

Parameters

Name

Description

inPlace

tag selecting in‐place construction of the contained value

args

arguments forwarded to construct the contained value

Created with MrDocs