Skip to content

v1.5.0

Compare
Choose a tag to compare
@Tessil Tessil released this 27 May 11:12
· 83 commits to master since this release
b08a0d6
  • Correct issue #31, a moved tsl::hopscotch_map or tsl::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 custom GrowthPolicy check the interface update.