'a::b' : cannot access private class declared in class 'a说的是class b作为a中的私有定义类,是无法再外面使用的class a{public: a(); int a3;private: int b;public: //添加 class b { public: b(); public: int d; };};