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

Assignment operators

== Synopses

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

Assign to this object the value of the specified `rhs` object, and return a non&hyphen;`const` reference to this object&period; This operation performs a `clone` of the underlying `Datum`, see &lcub;Value Semantics&rcub; for more detail&period;


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

[.small]#xref:BloombergLP/bdld/ManagedDatum/operator_assign-03.adoc[_» more&period;&period;&period;_]#

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;


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

[.small]#xref:BloombergLP/bdld/ManagedDatum/operator_assign-05.adoc[_» more&period;&period;&period;_]#


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