首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::auto_ptr::operators

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)

代码语言:txt
复制
 © cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券