public member function
<memory>

std::auto_ptr::~auto_ptr

~auto_ptr() throw();
Destroy auto_ptr
Deallocates the block of memory the object "points to" using delete (delete get()) and destructs the object.

See also