My line:
unordered_map < pair<long long,long long>, long long> myMap;
And the error:
error: no matching function for call to 'std::unordered_map<std::pair<long long int, long long int>, long long int>::unordered_map()'
Code that reproduces the error:
#include <math.h>
#include <stdio.h>
#include <vector>
#include <algorithm>
#include <unordered_map>
#include <utility>
using namespace std;
unordered_map < pair<long long,long long>, long long> myMap;
int main() {
return 0;
}
#include <unordered_map>and#include <utility>?std::pair.