Namespaces
Variants
Views
Actions

std::auto_ptr::release

From cppreference.com
< cpp‎ | memory‎ | auto ptr
 
 
 
 
 
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]