This is an attempt to create an equivalent of Java's ConcurrentHashMap in C++. It is not a direct equivalent because the underlying concurrency models in Java and C++ are different. This C++ library ...
As per the documentation ConcurrentHashMap#size() will return Integer.MAX_VALUE if it contains more than Integer.MAX_VALUE elements. But even if contains very few items, it returns Integer.MAX_VALUE.