std::auto_ptr<T>::get

< cpp‎ | memory‎ | auto ptr
T* get() const throw();
(C++11 中弃用)
(C++17 中移除)

返回 *this 所保有的指针。

参数

(无)

返回值

*this 所保有的指针。

参阅

访问被管理对象
(公开成员函数)