std::auto_ptr::~auto_ptr

From cppreference.com
< cpplrm; | memorylrm; | auto ptr
Dynamic memory management
Uninitialized storage
(C++17)
Garbage collection support
Miscellaneous
(C++20)
(C++11)
(C++11)
C Library
Low level memory management
~auto_ptr();
(deprecated)

Destroys the managed object. Calls delete get().