std::auto_ptr::operators
STD::AUTO[医]PTR::操作员%2A性病::AUTO[医]PTR::操作员->
T& operator*() const; | (1) | (deprecated) |
---|---|---|
T* operator->() const; | (2) | (deprecated) |
解析指向托管对象的指针。第一个版本需要get() != 0
...
参数
%280%29
返回值
1%29*get()
...
2%29get()
...
例外
%280%29
另见
get | returns a pointer to the managed object (public member function) |
---|
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
http://en.cppreference.com/w/cpp/Memory/AUTO[医]PTR/算子[医]星[医]