BloombergLP::bdlb::VariantImp::VariantImp

Create a variant object having the type and value of the specified original object by moving the contents of original to the newly-created object. The allocator associated with original (if any) is propagated for use in the newly-created object. original is left in a valid but unspecified state.

Synopsis

Declared in <bdlb_variant.h>

VariantImp(bslmf::MovableRef<VariantImp> original);