错误 C2661 “std::pair
#include
#include
using namespace std;
int main()
{
string key = "123";
int value = 4;
unordered_map
my.emplace(key, value);
my.emplace(1, "jia");
cout << my["jia"];
cout << endl;
}
第二个emplace参数反了