std::shared_ptr的簡單實現

#ifndef STD_SHAREDPTR_H #define STD_SHAREDPTR_H #include <stdint.h> #include <algorithm> using namespace std; template<typename T> class My_SharedPtr{ My_SharedPtr(): count_(new size_t),
相關文章
相關標籤/搜索