摘要: auto_ptr 1 template<typename T> 2 class my_auto_ptr 3 { 4 public: 5 //构造 6 my_auto_ptr(T* ptr) : m_ptr(ptr) {} 7 my_auto_ptr(my_auto_ptr<T>& other) { 阅读全文
posted @ 2020-12-03 10:44 股市的小黄花 阅读(214) 评论(0) 推荐(0)