会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Roderick.Huang
首页
新随笔
联系
订阅
管理
2022年7月23日
(C++) C++ 中 shared_ptr weak_ptr
摘要: shared_ptr std::shared_ptr<int> sp1 = new int(); // shared count = 1, weak count = 0 std::shared_ptr<int> sp2(sp1); // shared count = 2, weak count =
阅读全文
posted @ 2022-07-23 10:21 山岚2013
阅读(88)
评论(0)
推荐(0)
编辑
公告