int entryCountThreadCacheSize;
size_t capacity; // if positive, overrides maxLoadFactor
- private:
- static constexpr KeyT kEmptyKey = (KeyT)-1;
- static constexpr KeyT kLockedKey = (KeyT)-2;
- static constexpr KeyT kErasedKey = (KeyT)-3;
-
- public:
- constexpr Config() : emptyKey(kEmptyKey),
- lockedKey(kLockedKey),
- erasedKey(kErasedKey),
+ constexpr Config() : emptyKey((KeyT)-1),
+ lockedKey((KeyT)-2),
+ erasedKey((KeyT)-3),
maxLoadFactor(0.8),
growthFactor(-1),
entryCountThreadCacheSize(1000),