BloombergLP::bdlb::Variant5::Variant5

Create a variant object having the type and value of the specified original variant. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Synopsis

Declared in <bdlb_variant.h>

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