Skip to content

v2.0.0

Choose a tag to compare

@sukeya sukeya released this 28 Aug 15:11
· 76 commits to main since this release
66a535e

I'm happy to introduce platanus 2.0.0 release!
This version includes several important changes.

Breaking changes

  • Changed to not allocate nodes with placement new (to avoid breaking the alignment of values).
  • Introduced the ownership concept to the tree structures.
  • Abolished safe_btree (because there was an implementation that received the value of const_iterator by reference and it seemed impossible to support).

Fixed bug

  • Fixing a bug that prevents upper_bound with binary search using a comparison functor with three-way operators.

Refactoring

  • Simplified and modernizing the implementation.
  • Changed the benchmark framework to use google benchmark.
  • Split and organized files.
  • Improved documentation.

New features

  • Supported for comparison functors with three-way operators.
  • Supported for stateful comparison functors.
  • Supported for rvalues.
  • Added as many member functions as possible from STL (emplace-related functions are not supported because values cannot be constructed directly).