Hopscotch map v1.5.0 Release Notes
Release Date: 2018-05-27 // almost 6 years ago-
- Correct issue #31, a moved
tsl::hopscotch_map
ortsl::hopscotch_set
can now still be used after a move. Previously the map ended up in a invalid state after a move but the standard mandates that a moved object should be in a valid (but unspecified) state so that it can still be used after a move. - When a hash map or set with a bucket count of 0 is instantiated, no memory will be allocated.
- Add
iterator mutable_iterator(const_iterator pos)
method to convert a const iterator to a mutable iterator. - ➕ Add a
void clear() noexcept
method to growth policies classes. If you use a customGrowthPolicy
check the interface update.
- Correct issue #31, a moved