I am trying to create an std::unordered_map with an std::pair as key. As you can imagine, this would require me to explicitly provide a class to generate a hash for a given
You need to make the operator() a const method in your custom functors.
operator()