6.5、std::unique_ptr(独占所有权)

什么是std::unique_ptr?用大白话解释 如果,你在C++里用new分配了一块内存,比如一个对象,但 … 继续阅读 6.5、std::unique_ptr(独占所有权)