共享指针 赋值 给weak ptr std::shared_ptr<int> sp1, sp2; std::weak_ptr<int> wp; // sharing group: // -------------- sp1 = std::make_shared