摘要: #include <iostream> int main() { int* p; { std::unique_ptr<int[]> a{std::make_unique<int[]>(50)}; a[2] = 240; p = a.get(); std::cout << p[2]; } std::c 阅读全文
posted @ 2023-05-22 00:26 AngDH 阅读(4) 评论(0) 推荐(0) 编辑