后端开发 c++中的std::weak_ptr有什么用_c++解决shared_ptr循环引用问题【智能指针】 std::weak_ptr 的核心作用是打破 shared_ptr 的循环引用并安全观察对象存续状态;它不参与 […]...