public member function
<memory>

std::auto_ptr::~auto_ptr

~auto_ptr() throw();
銷燬 auto_ptr
使用delete (delete get()來解除物件“指向”的記憶體塊的分配,並銷燬物件。

另見