BloombergLP::bdlb::VariantImp_NoAllocatorBase::VariantImp_NoAllocatorBase

Constructors

Synopses

Declared in <bdlb_variant.h>

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

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

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

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

Create a VariantImp_NoAllocatorBase holding a copy of the specified value of the (template parameter) TYPE, with the specified type indicating the type of the object that the variant will initially hold.

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