还有一个用法是修饰类的成员函数。 ... 在C++中,mutable也是为了突破const的限制而设置的。 ... inline, static, constructor三种函数都不能带有virtual关键字。
確定! 回上一頁