In file included from /in/driver/main.cpp:5:0:
/in/hashtable.hpp: In instantiation of 'size_t HashTable<Key, Value, Hash, KeyEqual>::findMinimumBucketSize(size_t) const [with Key = int; Value = int; Hash = std::hash<int>; KeyEqual = std::equal_to<int>; size_t = long unsigned int]':
/in/hashtable.hpp:286:39: required from '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:228: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:238: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:134:104: error: conversion to 'double' from 'size_t {aka long unsigned int}' may alter its value [-Werror=conversion]
if (HashPrime::g_a_sizes[i] >= bucketSize && HashPrime::g_a_sizes[i] > static_cast<size_t>(tableSize) / maxLoadFactor){
^~~~~~~~~
/in/hashtable.hpp:134:82: error: conversion to 'double' from 'long unsigned int' may alter its value [-Werror=conversion]
if (HashPrime::g_a_sizes[i] >= bucketSize && HashPrime::g_a_sizes[i] > static_cast<size_t>(tableSize) / maxLoadFactor){
cc1plus: all warnings being treated as errors