const after a function declaration means that the function is not allowed to change any class members (except ones that are marked
mutable). So this use of const only makes sense, and is hence only allowed, for member functions.
const
最新推荐文章于 2022-07-21 20:21:39 发布
982

被折叠的 条评论
为什么被折叠?



