[#bsl-get_deleter] = xref:bsl.adoc[bsl]::get_deleter :relfileprefix: ../ :mrdocs: Return the address of deleter used by the specified `p` shared pointer if the (template parameter) type `DELETER` is the type of the deleter installed in `p`, and a null pointer value otherwise. == Synopsis Declared in `<bslstl_sharedptr.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class DELETER, class ELEMENT_TYPE> DELETER* get_deleter(xref:bsl/shared_ptr-0a.adoc[shared_ptr<ELEMENT_TYPE>] const& p) noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#