摘要: 转载:面试时实现智能指针 #include<iostream> #include<cstdio> using namespace std; template<typename T> class SmartPointer { public: //构造函数 SmartPointer(T* ptr) { 阅读全文
posted @ 2020-07-24 02:02 拉里拉里啦啦 阅读(274) 评论(0) 推荐(0) 编辑