摘要: 读<<深度探索C++对象模型>>,第二章介绍了默认构造函数,自觉知识点虽基础但是很是被忽略,故作此文记录. 关于基础概念不做介绍,先看代码 #include <stdio.h> #include <string> class Sample{ public: int intVal; }; class 阅读全文
posted @ 2023-04-28 15:42 严_青 阅读(20) 评论(0) 推荐(0) 编辑