Skip to content

Commit

Permalink
Merge pull request #36 from 5cript/5cript-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
5cript authored Aug 2, 2024
2 parents ba04ef5 + 067b97a commit d41a7c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ int main()
std::cout << "[" << i.low() << ", " << i.high() << "]\n";
}

using lib_interval_tree::open;
// dynamic has some logic overhead.
interval_tree<interval<int, dynamic>> dynamicIntervals;
dynamicIntervals.insert({0, 1, interval_border::closed, interval_border::open});
Expand Down Expand Up @@ -369,8 +368,8 @@ Lower bound.
### value_type high() const
Upper bound.
### \[\[deprecated\]\] bool overlaps(value_type l, value_type h) const
Overlap these bounds with this interval (closed)?
Is deprecated because the overlapping only works with closed intervals.
Overlap these bounds with this interval?
Is deprecated because the overlapping does not work with the dynamic interval type.
### bool overlaps_exclusive(value_type l, value_type h) const
Overlap these bounds with this interval excluding borders?
### bool overlaps(interval const& other) const
Expand Down

0 comments on commit d41a7c4

Please sign in to comment.