摘要: 定义一个空的C++类,例如 class Empty { } 一个空的class在C++编译器处理过后就不再为空,编译器会自动地为我们声明一些member function,一般编译过去就相当于 class Empty { public: Empty(); // 缺省构造函数 Empty( const Empty& ); // 拷贝构造函数 ~Empty(... 阅读全文
posted @ 2012-03-02 23:29 feiling 阅读(447) 评论(0) 推荐(0) 编辑