用weakptr来存大量遍历会有效率问题。有lock会转化成shared_ptr消耗是非常大的 来源:CSDN作者:昔拉再世链接:https://blog.csdn.net/qq_39885372/article/details/103923665 标签 指针