Error:包含unordered_map头文件时报This file requires compiler ...

Error:devc++中 #include<unordered_map>时报 #error This file requires compiler and library support for the \

参考:当我在我的dev c ++编译器中使用unordered_map时,它显示了这个:#error这个文件
以下将帮助
转到工具 - >编译选项 - >代码生成 /优化- >代码生成->语言标准(-std)
选择GNU C ++ 11。
Error:包含unordered_map头文件时报This file requires compiler ...
Error:包含unordered_map头文件时报This file requires compiler ...