C++基础面试题 对c++中的smart pointer四个智能指针:shared_ptr,unique_ptr,weak_ptr,auto_ptr的理解 C++ 提供了四种类型的智能指针:auto_ptr,unique_ptr,shared_pt...