Namespaces
Variants
Views
Actions

std::default_delete::operator()

From cppreference.com
< cpp‎ | memory‎ | default delete
Revision as of 18:40, 13 November 2012 by Nate (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
 

Template:ddcl list begin <tr class="t-dcl-sep"><td></td><td></td><td></td></tr>

<tr class="t-dcl ">

<td >
void operator()(T *ptr) const;
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end

Calls either delete or delete[] on ptr.

Parameters

ptr - an object or array to delete

Exceptions

No exception guarantees.

Example