当前分类:weak-ptr

c++ - 将shared_ptr分配给weak_ptr

c++ - std::weak_ptr::锁和对象销毁

c++ - 从继承自 std::enable_shared_from_this 的类继承后的 std::bad_weak_ptr

c++ - 弱指针库实现C++

c++ - 将weak_pointer.lock()增加用于创建weak_ptr的原始shared_ptr的引用计数

c++ - 出现 'bad_weak_ptr' 错误

c++ - 为什么 std::enable_shared_from_this 允许多个 std::shared_ptr 实例?

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

c++ - Swig:使用weak_ptr时简单的惯用包装器用法?

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

c++ - std::set of boost::weak_ptr<T> - 将 const_iterator 转换为 const T?

c++ - 如何以 std::weak_ptr 作为键比较两个 std::map?

c++ - boost::weak_ptr 会抛出异常吗?

c++ - 如何给 child 一个指向 parent 的弱指针? (C++)

visual-c++ - 如何用原子操作实现 std::weak_ptr::lock?

boost shared_ptr 循环引用?

c++ - 两个对象的相互依赖

c++ - 了解 Scott Meyers 的第三个 std::weak_ptr 示例

c++ - 赋予容器其子代的所有权,但让子代使用智能指针存储对其父代的引用

c++ - 如何在父类和子类中使用std::enable_shared_from_this?

热门标签: