Create a Variant_DataImp object whose stored t_TYPE object is constructed by forwarding the specified args to ConstructionUtil::construct directly.

Synopsis

Declared in <bslstl_variant.h>

template<class... t_ARGS>
Variant_DataImp(t_ARGS&&... args);

Description

This means the first argument in args must be a pointer to bslma::Allocator, which will be ignored if t_TYPE is not allocator‐aware.

Parameters

Name

Description

args

arguments forwarded to ConstructionUtil::construct

Created with MrDocs