[#BloombergLP-bslstl-Variant_CopyConstructorBase-0a-operator_assign-00] = 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. == Synopses Declared in `<bslstl_variant.h>` Assign to this object the value of the specified `rhs` object, and return a reference to this object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:BloombergLP/bslstl/Variant_CopyConstructorBase-0a.adoc[Variant_CopyConstructorBase<false>]& xref:BloombergLP/bslstl/Variant_CopyConstructorBase-0a/operator_assign-0a.adoc[operator=](xref:BloombergLP/bslstl/Variant_CopyConstructorBase-0a.adoc[Variant_CopyConstructorBase<false>] const& rhs) = default; ---- [.small]#xref:BloombergLP/bslstl/Variant_CopyConstructorBase-0a/operator_assign-0a.adoc[_» more..._]# Assign to this object the value of the specified `rhs` object, and return a reference to this object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:BloombergLP/bslstl/Variant_CopyConstructorBase-0a.adoc[Variant_CopyConstructorBase<false>]& xref:BloombergLP/bslstl/Variant_CopyConstructorBase-0a/operator_assign-03.adoc[operator=](xref:BloombergLP/bslstl/Variant_CopyConstructorBase-0a.adoc[Variant_CopyConstructorBase<false>]&& rhs) = default; ---- [.small]#xref:BloombergLP/bslstl/Variant_CopyConstructorBase-0a/operator_assign-03.adoc[_» more..._]# == 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]#