阅读背景:

为什么auto_ptr不支持op - > *()

来源:互联网 

auto_ptr (shared_ptr as well) try to make their use as transparent as possible; that is, ideally, you should not be able to tell a difference whether you're using an auto_ptr or a real pointer to an object. Consider:auto_ptr (shared_ptr as well) try to make their




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: