Код: Выделить всё
#include
namespace std {
template
struct hash {
std::size_t operator()(const pair &x) const {
return std::hash()(x.first) ^ std::hash()(x.second);
}
};
}
class abc {
std::unordered_map rules;
};
Подробнее здесь: https://stackoverflow.com/questions/205 ... airint-int