類別(class) 中的const 的成員函數(member function) 不能修改成員變數(member variable) 的值,但可修改宣告為mutable 的成員變數,舉例如下
確定! 回上一頁