Namespaces
Variants
Views
Actions

std::auto_ptr::release

From cppreference.com
< cpp‎ | memory‎ | auto ptr
Revision as of 22:12, 31 May 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
 
T* release();
(deprecated)

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

Contents

[edit] Parameters

(none)

[edit] Return value

get().

[edit] Exceptions

(none)

[edit] See also

destroys the managed object
(public member function) [edit]