##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::auto_ptr::~auto_ptr

From cppreference.com
< cpp‎ | memory‎ | auto ptr

~auto_ptr() |  | (deprecated)

Destroys the managed object. Calls delete get().

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/memory/auto_ptr/%7Eauto_ptr&oldid=50119"