In file included from /in/driver/main.cpp:5:0:
/in/hashtable.hpp: In member function 'void HashTable<Key, Value, Hash, KeyEqual>::rehash(size_t)':
/in/hashtable.hpp:424:37: error: 'tempBuckets' was not declared in this scope
for (HashNodeList curList : tempBuckets)
^~~~~~~~~~~
/in/hashtable.hpp:424:37: note: suggested alternative: 'buckets'
for (HashNodeList curList : tempBuckets)
^~~~~~~~~~~
buckets
/in/hashtable.hpp: In instantiation of 'void HashTable<Key, Value, Hash, KeyEqual>::rehash(size_t) [with Key = int; Value = int; Hash = std::hash<int>; KeyEqual = std::equal_to<int>; size_t = long unsigned int]':
/in/hashtable.hpp:399:23: required from 'Value& HashTable<Key, Value, Hash, KeyEqual>::operator[](const Key&) [with Key = int; Value = int; Hash = std::hash<int>; KeyEqual = std::equal_to<int>]'
/in/driver/main.cpp:129:94: required from here
/in/hashtable.hpp:421:27: error: invalid use of member function 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = std::forward_list<std::pair<const int, int>, std::allocator<std::pair<const int, int> > >; _Alloc = std::allocator<std::forward_list<std::pair<const int, int>, std::allocator<std::pair<const int, int> > > >; std::vector<_Tp, _Alloc>::size_type = long unsigned int]' (did you forget the '()' ?)
this->buckets.size=0;
~~~~~~~~~~~~~~~~~~^~
/in/hashtable.hpp:428:23: error: 'class HashTable<int, int, std::hash<int>, std::equal_to<int> >' has no member named 'myNoRehashInsert'
this->myNoRehashInsert(this->find(curNode.first), curNode.first, curNode.second);
~~~~~~^~~~~~~~~~~~~~~~