BloombergLP::bdlb::Variant9::Variant9

Create a variant with the type and value of original.

Synopsis

Declared in <bdlb_variant.h>

Variant9(
    Variant9 const& original,
    bslma::Allocator* basicAllocator = 0);

Description

Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
originalsource variant to copy or move from
basicAllocatorallocator used to supply memory