[#BloombergLP-bdld-ManagedDatum-operator_assign-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/ManagedDatum.adoc[ManagedDatum]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assign to this object the value of the specified `rhs` object, and return a non&hyphen;`const` reference to this object&period; Depending on the match of the object&apos;s allocators, this operation performs either shallow (the allocators are the same) or deep (the allocators are different) copying&period;

== Synopsis

Declared in `&lt;bdld&lowbar;manageddatum&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdld/ManagedDatum.adoc[ManagedDatum]&
operator&equals;(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;ManagedDatum&gt;] rhs);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
