error: incomplete type ‘’ used in nested name specifier

error: incomplete type ‘’ used in nested name specifier 内容 出现这个错误的缘由是:html 在A.h中定义了一个类模版,而且在A.h中须要#include “B.h”(即,须要知道B的定义) 而在B.h中又使用了A.h中定义的模版,所以也须要#include “A.h”(即,又须要知道A的定义)web 头文件相互包含,不但要用到#inclu
相关文章
相关标签/搜索