[#BloombergLP-bslma-ManagedPtr-0fa-operator_assign-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/ManagedPtr-0fa.adoc[ManagedPtr]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Destroy the current managed object (if any) and reset this managed pointer to empty&period;

== Synopsis

Declared in `&lt;bslma&lowbar;managedptr&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslma/ManagedPtr-0fa.adoc[ManagedPtr&lt;TARGET&lowbar;TYPE&gt;]&
operator&equals;(xref:bsl/nullptr_t-08.adoc[bsl::nullptr&lowbar;t]);
----


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