智能指针的使用

share_ptr #include <iostream> #include <memory> #include <thread> #include <chrono> #include <mutex> struct Base { Base() { std::cout << "Base::Base()" << std::endl; } //note: non-virtual destru
相关文章
相关标签/搜索