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

Destroy this shared pointer&period; If this shared pointer refers to a (possibly shared) object, then release the reference to that object, and destroy the shared object using its associated deleter if this shared pointer is the last reference to that object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&#126;shared&lowbar;ptr();
----


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