《Effective Modern C++》item 20:std::weak_ptr

                                                  采取行动乃消除焦虑的最好办法之一。 Use std::weak_ptr for std::shared_ptr like pointers that can dangle.    关于shared_ptr: 关于shared_ptr和weak_ptr的实现: -------weak_ptr是shar
相关文章
相关标签/搜索