[#BloombergLP-bslma-ManagedPtr_Members-clear]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/ManagedPtr_Members.adoc[ManagedPtr&lowbar;Members]::clear
:relfileprefix: ../../../
:mrdocs:

Reset this object to an unset state with no effect on the previously managed object (if any)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
clear();
----


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