public member function
<memory>

std::default_delete::operator()

void operator()(T* ptr) const;
Functional call
Deletes ptr.

In the non-specialized template version, this function is equivalent to:
 
::delete(ptr);


In the specialization for arrays with runtime length, this function is equivalent to:
 
::delete[](ptr);


Parameters

ptr
Pointer to an element to delete.
T is default_delete's template parameter.

Return value

none

See also