Create a Variant_Union object holding an object of type t_HEAD direct‐initialized from the specified args.

Synopsis

Declared in <bslstl_variant.h>

template<class... t_ARGS>
Variant_Union(
    bsl::in_place_index_t<0> inPlaceIndex,
    t_ARGS&&... args);

Parameters

Name

Description

inPlaceIndex

tag selecting the 0th alternative

args

arguments forwarded to the alternative's constructor

Created with MrDocs