std::auto_ptr<T>::~auto_ptr
来自cppreference.com
内存管理库
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
~auto_ptr() throw();
|
(C++11 弃用) (C++17 移除) |
|
销毁管理的对象。调用 delete get()。