[#BloombergLP-bdld-ManagedDatum-operator_assign-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/ManagedDatum.adoc[ManagedDatum]::operator= :relfileprefix: ../../../ :mrdocs: Assignment operators == Synopses Declared in `<bdld_manageddatum.h>` Assign to this object the value of the specified `rhs` object, and return a non‐`const` reference to this object. This operation performs a `clone` of the underlying `Datum`, see {Value Semantics} for more detail. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/ManagedDatum.adoc[ManagedDatum]& xref:BloombergLP/bdld/ManagedDatum/operator_assign-03.adoc[operator=](xref:BloombergLP/bdld/ManagedDatum.adoc[ManagedDatum] const& rhs); ---- [.small]#xref:BloombergLP/bdld/ManagedDatum/operator_assign-03.adoc[_» more..._]# Assign to this object the value of the specified `rhs` object, and return a non‐`const` reference to this object. Depending on the match of the object's allocators, this operation performs either shallow (the allocators are the same) or deep (the allocators are different) copying. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/ManagedDatum.adoc[ManagedDatum]& xref:BloombergLP/bdld/ManagedDatum/operator_assign-05.adoc[operator=](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<ManagedDatum>] rhs); ---- [.small]#xref:BloombergLP/bdld/ManagedDatum/operator_assign-05.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#