阅读背景:

前向声明之“Error: pointer to incomplete class type is not allowed.”

来源:互联网 

在编译C++文件时有时候遇到这个问题,其实这是因为我们使用了前向声明(forward declaration)。在编译C++文件时有时候遇到这个问题,其实这是因为我们使用了前向声明(forward decl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: