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>

template<
    class DELETER,
    class ELEMENT_TYPE>
DELETER*
get_deleter(shared_ptr<ELEMENT_TYPE> const& p) noexcept;

Created with MrDocs