本页内容std::auto_ptr<T>::release C++11 中已弃用,C++17 中已移除T* release() throw(); 释放所持有的指针。调用后,*this 将持有空指针。 参数 (无) 返回值 get().
本页内容std::auto_ptr<T>::release C++11 中已弃用,C++17 中已移除T* release() throw(); 释放所持有的指针。调用后,*this 将持有空指针。 参数 (无) 返回值 get().