Skip to main content

std::auto_ptr<T>::get

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

Returns the pointer that is held by *this.

Parameters​

(none)

Return value​

The pointer held by *this.

std::auto_ptr<T>::get

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

Returns the pointer that is held by *this.

Parameters​

(none)

Return value​

The pointer held by *this.