public member function
<memory>

std::default_delete::default_delete

(1)
constexpr default_delete() noexcept = default;
(2)
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).

Parameters

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

See also