摘要: 本文结论: const对象、指向const对象的指针或引用只能用于调用其const成员函数。实例说明:class A{public: void mf1(){ cout<<"Function Call"<<endl; } void mf2() const{ cout<<"const F... 阅读全文
posted @ 2015-03-04 22:27 Sawyer Ford 阅读(137) 评论(0) 推荐(0) 编辑