摘要: 类代码 代码用到两个类,没什么特殊之处,主要是C++代码类还是很重要的知识点,内存管理肯定要涉及到,而不是仅仅的基本数据类型。 基类Person: #include <memory> //allocator类 #include <string> #include <new> //placement 阅读全文
posted @ 2022-09-03 15:32 时间的风景 阅读(34) 评论(0) 推荐(0) 编辑