Skip to content

Commit d41a7c4

Browse files
authored
Merge pull request #36 from 5cript/5cript-patch-1
Update README.md
2 parents ba04ef5 + 067b97a commit d41a7c4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ int main()
4848
std::cout << "[" << i.low() << ", " << i.high() << "]\n";
4949
}
5050

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

0 commit comments

Comments
 (0)