在 C++11 中,以下注释处哪几行代是码合法的()
#include <iostream>
#include <unordered_map>
#include <map>
typedef long long ll;
using namespace std;
int main() {
unordered_map<ll, pair<ll, ll>> un;
un.insert(1, 2, 3); // 1
un.insert(make_pair(1, std::make_pair(2, 3))); // 2
un.emplace(1, 2, 3); // 3
un.emplace(1, make_pair(2, 3)); // 4
return 0;
}

