Create a VariantImp_AllocatorBase with the specified type and basicAllocator.

Synopsis

Declared in <bdlb_variant.h>

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

Parameters

Name

Description

type

type index of the initially held alternative

basicAllocator

allocator used to supply memory

Created with MrDocs