摘要: 原文地址:C++空类默认函数作者:cutex定义一个空的C++类,例如class Empty{}一个空的class在C++编译器处理过后就不再为空,编译器会自动地为我们声明一些memberfunction,一般编译过去就相当于class Empty{public:Empty(); // 缺省构... 阅读全文
posted @ 2014-07-26 14:09 dreamsyeah 阅读(392) 评论(0) 推荐(0) 编辑