Call to implicitly-deleted default constructor of ‘unordered_set< vector >‘
It’s because unordered_set is using std::hash template to compute hash for its entries and there is no std::hash for pairs. You have to define custom hash to use unordered_set. struct vector_hash { template <class T1, class T2> std::size_t operator () (std::pair<T1, T2> const &v) const { return std::hash<T1>()(v.size()); } }; and then declare your unordered_set … Read more