std::auto_ptr<T>::~auto_ptr

~auto_ptr() throw();
(deprecated in C++11)
(removed in C++17)

Destroys the managed object. Calls delete get().

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/memory/auto_ptr/~auto_ptr