Scroll to navigation

std::auto_ptr::~auto_ptr(3) C++ Standard Libary std::auto_ptr::~auto_ptr(3)

NAME

std::auto_ptr::~auto_ptr - std::auto_ptr::~auto_ptr

Synopsis

~auto_ptr() throw(); (deprecated in C++11)
(removed in C++17)

Destroys the managed object. Calls delete get().

2026.11.10 http://cppreference.com