入参要判空
入参要判空
全部文章
分类
C++/Java原理(2)
基础算法(3)
手写数据结构(2)
归档
标签
去牛客网
登录
/
注册
Hello World
怎么去拥抱一夏天的风
全部文章
(共1篇)
手写cpp智能指针shared_ptr
如有错误,欢迎指正,谢谢 template<class T> class smart_ptr{ public: smart_ptr(T* ptr=0):m_ptr(ptr){ if(m_ptr) m_count=new unsigned ...
智能指针
smart_pointer
shared_ptr
手写数构
2020-03-22
0
1089