10-3-5 const成员函数 2022-10-05 / { C++ } { C++基础 } 10.3.5 const成员函数 如果一个类被创建时就是const类型,则类函数因不能保证不修改类的成员而报错,此时就需要const成员函数来解决这种问题 Read On »