摘要: 由于每次使用智能指针来管理char* buffer时都要确认一下。写的对不对,所以今天记录一下。std::unique_ptr chars(new char[1024]); 阅读全文
posted @ 2020-08-07 11:33 瓜蛋 阅读(1647) 评论(0) 推荐(0) 编辑