我使用clang编译器在C++中使用Forward Declaration有一个问题.这是我的代码.它将CReference成员中的数据指向为不完整类型.请帮忙
class Internal;
class CReference {
private:
Internal data;
public:
CReference () {}
~CReference (){}
};
class Internal {
public:
Internal () {}
~Internal () {}
};
Run Code Online (Sandbox Code Playgroud) c++ ×1