摘要: C++基础视频day04: 02、const修饰的是谁 指的是类中的const成员函数。void OpVar(int a, int b) const{} const修饰的是this指针,等价于void OpVar(const Test *this, int a, int b),因为this指针隐藏了 阅读全文
posted @ 2020-07-09 23:45 im天行 阅读(122) 评论(0) 推荐(0) 编辑