BloombergLP::bdlb::VariantImp_NoAllocatorBase::VariantImp_NoAllocatorBase

Create a VariantImp_NoAllocatorBase with the specified type (allocator argument is ignored).

Synopsis

Declared in <bdlb_variant.h>

VariantImp_NoAllocatorBase(
    int type,
    bslma::Allocator* allocator);

Parameters

NameDescription
typetype index of the initially held alternative
allocatorallocator used to supply memory