摘要: 1、类成员函数访问修饰const,申明和定义中须保持一致; class IntCell{... ; int read( ) const;...} int IntCell::read( ) const { return storedValue } 阅读全文
posted @ 2019-04-11 17:34 kuaqi 阅读(142) 评论(0) 推荐(0) 编辑