Namespaces
Variants
Views
Actions

std::auto_ptr::release

From cppreference.com
< cpp‎ | memory‎ | auto ptr
Revision as of 06:51, 7 November 2012 by P12 (Talk | contribs)

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

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

<td >
T* release();
</td>

<td class="t-dcl-nopad"> </td> <td > (deprecated) </td> </tr> Template:ddcl list end

Releases the held pointer. After the call *this holds the null pointer.

Contents

Parameters

(none)

Return value

get().

Exceptions

(none)

See also

Template:cpp/memory/auto ptr/dcl list reset