[#bsl-shared_ptr-0a-2destructor] = xref:bsl.adoc[bsl]::xref:bsl/shared_ptr-0a.adoc[shared_ptr]::~shared_ptr :relfileprefix: ../../ :mrdocs: Destroy this shared pointer. 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. == Synopsis Declared in `<bslstl_sharedptr.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- ~shared_ptr(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#