Create a VariantImp_AllocatorBase with the specified type and default‐constructed TYPE.

Synopsis

Declared in <bdlb_variant.h>

template<class TYPE>
VariantImp_AllocatorBase(
    int type,
    TYPE const& value,
    bsl::false_type tag);

Parameters

Name

Description

type

type index of the initially held alternative

value

value assigned to or stored in this variant

tag

unused overload‐resolution tag

Created with MrDocs