[#BloombergLP-bdlb-Variant4-2constructor-0f7] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Variant4.adoc[Variant4]::Variant4 :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Variant4(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<Variant4>] original); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#