标签:shared-ptr auto-ptr operator- operator
tr1::shared_ptr和tr1::auto_ptr都提供一个get成员函数,返回智能指针内部的原始指针:
)
operator*和operator->隐式转换至底部指针:
注意:
标签:shared-ptr auto-ptr operator- operator
原文地址:http://blog.csdn.net/ganxiang2011/article/details/45850603