[#BloombergLP-bslstl-Variant_CopyConstructorBase-0a-operator_assign-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_CopyConstructorBase-0a.adoc[Variant_CopyConstructorBase<false>]::operator= :relfileprefix: ../../../ :mrdocs: Assign to this object the value of the specified `rhs` object, and return a reference to this object. == Synopsis Declared in `<bslstl_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:BloombergLP/bslstl/Variant_CopyConstructorBase-0a.adoc[Variant_CopyConstructorBase<false>]& operator=(xref:BloombergLP/bslstl/Variant_CopyConstructorBase-0a.adoc[Variant_CopyConstructorBase<false>]&& rhs) = default; ---- == Return Value reference to this object == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | object to assign from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#