error: “xxx“ in namespace “std‘ does not name a type

C++编译时候报错: "xxx" in namespace "std' does not name  a type,多数情况下是缺少声明相应的头文件。

如下,则是在.cpp文件开头添加condition_variable的库文件。

#include<condition_variable>

猜你喜欢

转载自blog.csdn.net/u010420283/article/details/112787685