std::auto_ptr::~auto_ptr

From cppreference.com
 
 
 
 
 
~auto_ptr()
(deprecated)

Destroys the managed object. Calls delete get().