银河驿站
首页
归档
C++中const修饰函数
const char* get_version();---->修饰函数返回值
char* get_version() const;---->常量函数,不允许修改类的成员函数
下一篇
上一篇