Namespaces
Variants

std::auto_ptr<T>::~auto_ptr

From cppreference.com
 
 
Memory management library
Allocators
Memory resources
Uninitialized storage (until C++20*)
Garbage collector support (until C++23)
 
 
~auto_ptr() throw();
(deprecated in C++11)
(removed in C++17)

Destroys the managed object. Calls delete get().