2010年3月21日
摘要: const对象只能调用const成员函数,而非const对象可以调用const或非const成员函数。 阅读全文
posted @ 2010-03-21 21:03 cppfans 阅读(185) 评论(0) 推荐(0) 编辑
摘要: C++构造函数不能重载为普通函数 阅读全文
posted @ 2010-03-21 20:31 cppfans 阅读(552) 评论(0) 推荐(0) 编辑