The following line in util.hpp causes compile error in gcc 10.2.1:
#define MAX_BUCKET_SIZE static_cast<bucket_size_type>(100)
error message expected unqualified-id before ‘static_cast’
I found that replacing that line with the following fix the problem:
constexpr bucket_size_type MAX_BUCKET_SIZE = 100;
The following line in
util.hpp
causes compile error in gcc 10.2.1:#define MAX_BUCKET_SIZE static_cast<bucket_size_type>(100)
error messageexpected unqualified-id before ‘static_cast’
I found that replacing that line with the following fix the problem:
constexpr bucket_size_type MAX_BUCKET_SIZE = 100;