[#BloombergLP-bslstl-Variant_MoveAssignBase-0c-operator_assign-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_MoveAssignBase-0c.adoc[Variant_MoveAssignBase<t_ISCOPYCONSTRUCTIBLE, t_ISMOVECONSTRUCTIBLE, t_ISCOPYASSIGNABLE, 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"] ---- xref:BloombergLP/bslstl/Variant_MoveAssignBase-0c.adoc[Variant_MoveAssignBase]& operator=(xref:BloombergLP/bslstl/Variant_MoveAssignBase-0c.adoc[Variant_MoveAssignBase] const& 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]#