pair & lt; int, int & gt; paire comme clé d'un problème avec unordered_map

Mon code:

 typedef pair<int,int> Pair
  tr1::unordered_map<Pair,bool> h;
  h.insert(make_pair(Pair(0,0),true));

Erorr

 undefined reference to `std::tr1::hash<std::pair<int, int> >::operator()(std::pair<int, int>) const'

Quelque chose j'ai besoin de fixer?

grâce

source d'informationauteur icn