Overhead of smart pointer 1、std::unique_ptr 基本上相当于raw pointer 2、std::shared_ptr 相比于raw pointer,overhead较大 modernescpp Memory and Performance Overhead of Smart Pointers