如果我要创建一个像这样的简单类:
class foo { int* a; };
然后创建该类的 const 实例:
const foo;
a
const int*
int* const
我觉得
数据成员
int * const