public member function


constexpr default_delete() noexcept = default;
template <class U, class = typename enable_if<is_convertible<U*,T*>::value>::type>  default_delete (const default_delete<U>& del) noexcept {}
Construct default deleter
Constructs a default_delete object.

This is a stateless class where the constructor performs no operation.

The second constructor only participates in overload resolution if U* is implicitly convertible to T* (where T is default_delete's template parameter).


A default_deleter object of some type whose pointer is implicitly convertible to T*.

See also