阅读背景:

使用Visual C ++ 2008的std :: unordered_map未声明的标识符

来源:互联网 
#include <iostream>
#include <string>
#include <unordered_map>

using namespace std;

int main()
{
    unordered_map< int, string > m;

    m[1] = "one";   
    m[2] = "two";
    m[4] = "four";
    m[3] = "three";
    m[2] = "TWO!";
    cout << m[2] << endl;

    m.clear();
    return 0;
}
#include <iostream>
#include <string>
#include 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: