In file included from /in/driver/main.cpp:5:0:
/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:311:19: required from 'bool HashTable<Key, Value, Hash, KeyEqual>::insert(const HashTable<Key, Value, Hash, KeyEqual>::Iterator&, const Key&, const Value&) [with Key = int; Value = int; Hash = std::hash<int>; KeyEqual = std::equal_to<int>]'
/in/hashtable.hpp:329:22: required from '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:412:9: error: no matching function for call to 'std::vector<std::forward_list<std::pair<const int, int>, std::allocator<std::pair<const int, int> > >, std::allocator<std::forward_list<std::pair<const int, int>, std::allocator<std::pair<const int, int> > > > >::swap(HashTable<int, int, std::hash<int>, std::equal_to<int> >&)'
buckets.swap(Gigantic);
^~~~~~~
In file included from /usr/include/c++/7/vector:64:0,
from /usr/include/c++/7/functional:61,
from /in/hashtable.hpp:4,
from /in/driver/main.cpp:5:
/usr/include/c++/7/bits/stl_vector.h:1229:7: note: candidate: void std::vector<_Tp, _Alloc>::swap(std::vector<_Tp, _Alloc>&) [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> > > >]
swap(vector& __x) _GLIBCXX_NOEXCEPT
^~~~
/usr/include/c++/7/bits/stl_vector.h:1229:7: note: no known conversion for argument 1 from 'HashTable<int, int, std::hash<int>, std::equal_to<int> >' to 'std::vector<std::forward_list<std::pair<const int, int>, std::allocator<std::pair<const int, int> > >, std::allocator<std::forward_list<std::pair<const int, int>, std::allocator<std::pair<const int, int> > > > >&'
In file included from /in/driver/main.cpp:5:0:
/in/hashtable.hpp:405:14: error: unused variable 'sucksize' [-Werror=unused-variable]
auto sucksize = tableSize;
^~~~~~~~
In file included from /usr/include/c++/7/functional:64:0,
from /in/hashtable.hpp:4,
from /in/driver/main.cpp:5:
/usr/include/c++/7/bits/stl_algo.h:3923:5: error: '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator<std::forward_list<std::pair<const int, int>, std::allocator<std::pair<const int, int> > >*, std::vector<std::forward_list<std::pair<const int, int>, std::allocator<std::pair<const int, int> > >, std::allocator<std::forward_list<std::pair<const int, int>, std::allocator<std::pair<const int, int> > > > > >; _Predicate = 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]::<lambda(const auto:2&)>]', declared using local type '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]::<lambda(const auto:2&)>', is used but never defined [-fpermissive]
find_if(_InputIterator __first, _InputIterator __last,
^~~~~~~
cc1plus: all warnings being treated as errors