Create a VariantImp_NoAllocatorBase with the specified type indicating the type of the object that the variant will initially hold.

Synopsis

Declared in <bdlb_variant.h>

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

Parameters

Name

Description

type

type index of the initially held alternative

allocator

allocator used to supply memory

tag

unused overload‐resolution tag

Created with MrDocs