摘要: shared_ptr shared_ptr继承自_Ptr_base<_Ty>,是一个引用计数资源管理的类。 _Ptr_base是shared_ptr和weak_ptr的基类。 Ptr_base Ptr_base持有两个数据成员,element_type和_Ref_count_base。 对相同模板参 阅读全文