- 博客(1)
- 收藏
- 关注
原创 shared_ptr使用最大误区
#include <iostream> #include <memory> using namespace std; int main() { int *p5 = new int; std::shared_ptr<int> p6(p5); std::shared_ptr<int> p7(p5);// logic error ...
2018-11-20 11:56:51
446
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人