boostorg / unordered

Boost.org unordered module
http://boost.org/libs/unordered
Boost Software License 1.0
61 stars 55 forks source link

Fix bug #147 #152

Closed cmazakas closed 1 year ago

cmazakas commented 1 year ago

Not sure what's monotonic about the allocator, but that's a minor quibble.

The normal tests use a tracking allocator where allocate() increments a counter and deallocate() decrements the same counter.

I used the term "monotonic" here just to imply that in contrast, we never decrement the counter which is what enables us to track whether or not rehash() reallocated or not.