zmhc

关注

六、shared_ptr、‘make_shared‘不是‘std‘的成员

zmhc

关注

阅读 54

2022-06-21

引入头文件

#include <memory>


相关推荐

那小那小

C++ 中 shared_ptr 和 make_shared

那小那小 93 0 0

艾米吖

C++ 智能指针 shared_ptr、make_shared用法

艾米吖 173 0 0

booksmg2014

C++核心准则C.151:使用make_shared构建shared_ptr管理的对象

booksmg2014 90 0 0

GhostInMatrix

C++自学25:共享智能指针(make_shared/shared_ptr/reset/use_count)

GhostInMatrix 83 0 0

穆熙沐

简单实现shared_ptr

穆熙沐 63 0 0

七千22

C++笔记:智能指针 std::shared_ptr

七千22 81 0 0

星巢文化

shared_ptr注意事项

星巢文化 16 0 0

有态度的萌狮子

七十九、将std::unique_ptr<T>转换成std::shared_ptr<T>

有态度的萌狮子 59 0 0

kolibreath

智能指针(四shared_ptr)

kolibreath 111 0 0

Sikj_6590

shared_ptr 与 unique_ptr 的转换 笔记

Sikj_6590 18 0 0

精彩评论(0)

0 0 举报