Namespaces
Variants

std::auto_ptr<T>:: ~auto_ptr

From cppreference.net
Memory management library
( exposition only* )
Allocators
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Memory resources
Uninitialized storage (until C++20)
( until C++20* )
( until C++20* )
( until C++20* )

Garbage collector support (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
~auto_ptr ( ) throw ( ) ;
(C++11에서 사용 중단됨)
(C++17에서 제거됨)

관리되는 객체를 파괴합니다. delete get ( ) 를 호출합니다.