【发布时间】:2013-08-06 04:25:28
【问题描述】:
正如标题所说,unordered_map 不是为我编译的。我收到一条错误消息,提示“错误:命名空间“std”没有成员“unordered_map””
我正在使用这个命令 icc test.cpp -std=c++0x 进行编译
这是我要编译的程序:
#include <stdio.h>
#include <string>
int main()
{
std::unordered_map<string, int> map;
}
【问题讨论】:
标签: c++ unordered-map concurrenthashmap icc