SysTutorials

Linux Manual Pages › Section 3

stdauto_ptrauto_ptr(3)

std::auto_ptr<T>::~auto_ptr - std::auto_ptr<T>::~auto_ptr

Synopsis

~auto_ptr() throw(); (deprecated in C++11)                       (removed in C++17) Destroys the managed object. Calls delete get().