项目(百万并发网络通讯架构)12.2---内存管理之(为服务端添加智能指针)

1、C++智能指针概述 在C++标准库中提供了3种智能指针,分别为shared_ptr、unique_ptr、weak_ptr,其中应用场景最多的是shared_ptr 这3种智能指针的语法能够分别参阅: shared_ptr:https://blog.csdn.net/qq_41453285/article/details/105438328 unique_ptr:https://blog.cs
相关文章
相关标签/搜索