[#bsl-get_deleter]
= xref:bsl.adoc[bsl]::get&lowbar;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&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class DELETER,
    class ELEMENT&lowbar;TYPE&gt;
DELETER*
get&lowbar;deleter(xref:bsl/shared_ptr-0a.adoc[shared&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&gt;] const& p) noexcept;
----


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