共1篇相关文章
class A { private: const int a;常对象成员,可以使用初始化列表或者类内初始化 public:构造函数 A() : a(0) { }; A(int x) : a(x) { };初始化列表...