error: invalid use of incomplete type 'XXXX'
error: forward declaration of XXXX
声明改为包含头文件
class XXXX;
#include "XXXX.h"
error: invalid use of incomplete type 'XXXX'
error: forward declaration of XXXX
声明改为包含头文件
class XXXX;
#include "XXXX.h"