[#bsl-shared_ptr-0a-reset-0cc]
= xref:bsl.adoc[bsl]::xref:bsl/shared_ptr-0a.adoc[shared&lowbar;ptr]::reset
:relfileprefix: ../../
:mrdocs:

Reset this `shared&lowbar;ptr` to the empty state&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;sharedptr&period;h&gt;`

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

== Description

Reset this shared pointer to the empty state&period; If this shared pointer is managing a (possibly shared) object, then release the reference to the shared object, calling the associated deleter to destroy the shared object if this shared pointer is the last shared reference&period;


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