CPP_头文件互相包含

📝

内容提要

[!Error]+编写 C++ 代码时偶尔会遇到两个类需要相互引用的情况,如果在 h 文件中相互包含会导致 “has not been declared”

🏷️

标签

➡️

继续阅读