[#BloombergLP-bdld-ManagedDatum-operator_assign-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/ManagedDatum.adoc[ManagedDatum]::operator= :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bdld_manageddatum.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/ManagedDatum.adoc[ManagedDatum]& operator=(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<ManagedDatum>] rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#