std::auto_ptr::release

From cppreference.com
 
 
 
 
 
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)