Przejdź do głównej zawartości

std::auto_ptr<T>::release

Deprecated in C++11, Removed in C++17
T* release() throw();

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

Parameters

(none)

Return value

get().

std::auto_ptr<T>::release

Deprecated in C++11, Removed in C++17
T* release() throw();

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

Parameters

(none)

Return value

get().