可以用来
-
C++的智能指针可以用来管理动态分配的数组吗(数组.指针.可以用来.智能.动态分配...)
智能指针可管理动态数组,推荐使用std::unique_ptr<int[]>配合make_unique实现安全自动释放,或std::shared_p...
wufei123 发布于 2025-09-11 阅读(1)
智能指针可管理动态数组,推荐使用std::unique_ptr<int[]>配合make_unique实现安全自动释放,或std::shared_p...