BloombergLP::bdlb::VariantImp_AllocatorBase::VariantImp_AllocatorBase

Constructors

Synopses

Declared in <bdlb_variant.h>

Create a VariantImp_AllocatorBase with the specified type and basicAllocator.

VariantImp_AllocatorBase(
    int type,
    bslma::Allocator* basicAllocator);
» more...

Create a VariantImp_AllocatorBase with the specified type indicating the type of the object that the variant will initially hold, and the specified basicAllocator to supply memory.

VariantImp_AllocatorBase(
    int type,
    bslma::Allocator* basicAllocator,
    bsl::true_type);
» more...

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

template<class TYPE>
VariantImp_AllocatorBase(
    int type,
    TYPE const&,
    bsl::false_type);
» more...