BloombergLP::bdlb::VariantImp_AllocatorBase::VariantImp_AllocatorBase

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

NameDescription
typetype index of the initially held alternative
valuevalue assigned to or stored in this variant
tagunused overload-resolution tag