From 067b97ae5da08950b6864f3a22b90587a16bff88 Mon Sep 17 00:00:00 2001 From: Tim Ebbeke Date: Fri, 2 Aug 2024 20:06:26 +0200 Subject: [PATCH] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a29a9ac..ea62691 100644 --- a/README.md +++ b/README.md @@ -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> dynamicIntervals; dynamicIntervals.insert({0, 1, interval_border::closed, interval_border::open}); @@ -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