#include <unordered_set>

struct A{};

namespace std { 
  template<> 
  struct hash<A> { 
    size_t operator()(const A& mystruct) const {
      return 0; //hash here
    }
  };
}

int main() { 
    std::unordered_set<A> a;
}