In file included from /in/driver/main.cpp:5:0:
/in/hashtable.hpp:375:10: error: 'bool HashTable<Key, Value, Hash, KeyEqual>::insert(const Key&, const Value&)' cannot be overloaded
bool insert(const Key &key, const Value &value)
^~~~~~
/in/hashtable.hpp:340:10: error: with 'bool HashTable<Key, Value, Hash, KeyEqual>::insert(const Key&, const Value&)'
bool insert(const Key &key, const Value &value)
^~~~~~
/in/hashtable.hpp: In instantiation of 'bool HashTable<Key, Value, Hash, KeyEqual>::insert(const Key&, const Value&) [with Key = int; Value = int; Hash = std::hash<int>; KeyEqual = std::equal_to<int>]':
/in/driver/main.cpp:111:43: required from here
/in/hashtable.hpp:352:59: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (firstBucketIt == buckets.end() || bucketIndex < std::distance(buckets.begin(), firstBucketIt))
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors