I have a Hashmap Class in the header
template <typename K, typename M, typename H = std::hash<K>>
class HashMap {
public:
template <class Iterator>
HashMap(const Iterator& begin, const Iterator& end);
};
How do I declare this in the cpp file?
I tried:
template <class <typename K, typename M, typename H> Iterator>
HashMap<K, M, H>::HashMap(const Iterator& begin, const Iterator& end)
It does not work. Thanks.