In file included from /in/driver/main.cpp:5:0:
/in/hashtable.hpp: In member function 'bool HashTable<Key, Value, Hash, KeyEqual>::insert(const HashTable<Key, Value, Hash, KeyEqual>::Iterator&, const Key&, const Value&)':
/in/hashtable.hpp:309:20: error: 'bucket' was not declared in this scope
rehash(bucket.size*2); // Use the calculated bucket size to rehash
^~~~~~
/in/hashtable.hpp:309:20: note: suggested alternative: 'buckets'
rehash(bucket.size*2); // Use the calculated bucket size to rehash
^~~~~~
buckets
/in/hashtable.hpp: In member function 'bool HashTable<Key, Value, Hash, KeyEqual>::insert(const Key&, const Value&)':
/in/hashtable.hpp:345:20: error: 'bucket' was not declared in this scope
rehash(bucket.size*2);
^~~~~~
/in/hashtable.hpp:345:20: note: suggested alternative: 'buckets'
rehash(bucket.size*2);
^~~~~~
buckets
/in/hashtable.hpp: In member function 'Value& HashTable<Key, Value, Hash, KeyEqual>::operator[](const Key&)':
/in/hashtable.hpp:447:20: error: 'bucket' was not declared in this scope
rehash(bucket.size*2)
^~~~~~
/in/hashtable.hpp:447:20: note: suggested alternative: 'buckets'
rehash(bucket.size*2)
^~~~~~
buckets
/in/hashtable.hpp:448:9: error: expected ';' before '}' token
}
^