当前分类:shared-ptr

c++ - `std::shared_ptr` : is not a valid template type argument for parameter `_Ty`

c++ - 是否可以使shared_ptr协变?

c++ - 将weak_ptr 与循环引用一起使用

c++ - 通过类析构函数中重置成员shared_ptrs解决C++11shared_ptr循环引用?

c++ - 什么是 "terminate called after throwing an instance of ' std::bad_weak_ptr' “在我使用shared_ptr之后

c++ - 在 C++ 11 中将 `nullptr` 作为 `std::shared_ptr` 返回是否安全?

c++ - 关于shared_from_this()实际使用的问题

c++ - 如何在 Cython 中包装来自 C++ 的 std::shared_ptr 和 std::vector ?

c++ - 当永远不会同时访问共享托管对象时,在生产者和消费者之间使用 std::shared_ptr 是否安全?

c++ - 使用shared_ptr处理可靠的命令模式

c++ - 跨线程的内存管理

c++ - 使用boost的shared_ptr管理C类型生命周期?

c++ - 自己的共享指针析构函数中的段错误

c++ - 在列表中正确使用 boost::shared_ptr

c++ - 从不在 PIMPL 中提供析构函数(使用 boost scoped_ptr),g++(4.6.1) 不会生成编译错误,为什么?

C++ shared_ptr 保存动态分配的数组

c++ - 取消引用从函数返回的shared_ptr

c++ - 自己的 AddRef 和 Release for Boost shared_ptr

c++ - boost::smart_ptr 的内部结构

c++ - 如何保持常量正确性和 RAII?

热门标签: