Er_HU

但求风浪,莫问前程。

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2024年6月17日

摘要: 要点回顾 继承自 std::enable_shared_from_this<T> 的类能够在其自身实例中通过 std::shared_from_this 方法创建一个指向自己的 std::shared_ptr<T> 智能指针。 从一个裸指针创建多个 std::shared_ptr<T> 实例会造成严 阅读全文
posted @ 2024-06-17 16:11 Er_HU 阅读(183) 评论(0) 推荐(0) 编辑