2022 · std::unique_ptr< int > a = std:: make_unique < int > ( 666 ); //释放内存,同时将a置0,所以不会出现悬挂指针的问题a. reset (); std::cout << a ...
確定! 回上一頁