Constructors

Synopses

Declared in <bdlb_variant.h>

Create a VariantImp_AllocatorBase with the specified type and basicAllocator.

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

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.

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

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

Created with MrDocs