BloombergLP::bdlb::Variant6::Variant6

Create a variant object having the type and value of the specified original object that uses the specified basicAllocator to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The contents of original are moved to the newly-created object with original left in a valid but unspecified state.

Synopsis

Declared in <bdlb_variant.h>

Variant6(
    bslmf::MovableRef<Variant6> original,
    bslma::Allocator* basicAllocator);