文章 0 浏览 6
不久前,我遇到了一些用 mutable 关键字标记类的数据成员的代码。 据我所知,它只是允许您修改 const 限定的成员方法中的成员: class Foo { private:…
文章 0 评论 0
接受