[#BloombergLP-bdlb-VariantImp-operator_assign-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp]::operator= :relfileprefix: ../../../ :mrdocs: Assign the type and value of `rhs` to this object. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp<TYPES>]& operator=(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<VariantImp>] rhs); ---- == Description The contents of `rhs` are either move‐inserted into or move‐assigned to this object with `rhs` left in a valid but unspecified state. == Return Value reference providing modifiable access to this object == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | right‐hand operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#