std::auto_ptr<T>::release
来自cppreference.com
工具库
动态内存管理
|
T*
release()
throw();
|
(C++11 中弃用) (C++17 中移除) |
|
返回保有的指针。调用后 *this 保有空指针。
参数
(无)
返回值
get() 。
参阅
替换被管理对象 (公开成员函数) |