auto_ptr::~auto_ptr


public member function
~auto_ptr() throw();

Destruct auto_ptr

Deallocates the block of memory the object "points to" using delete (delete get()) and destructs the object.

See also