C++错误:cannot access private member declared in class 'A'

不能访问class 'A'中声明的私有成员。

因为将构造函数声明为私有的了。

原文地址:https://www.cnblogs.com/tingtaishou/p/14886532.html