template<class Deleter, class T>
Deleter* get_deleter(const shared_ptr<T> & p) const;
Access to the
p's deleter. The std::shared_ptr must have been created with one of the constructors that take a deleter as a parameter. Otherwise, it will return 0.
 Return value
A pointer to the owned deleter or 0.
 See also
| std::shared_ptr constructors |
(public member function)