sherlockliao 03 Apr 2022 in Public Second, don’t manually delete the resource out from underneath the std::unique_ptr. 有什么误用 std::unique_ptr 的情况? unique_ptr smart pointer deallocate memory