| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:f161c75e-067c-71d2-75e8-4e0ab38f4284 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 87F0:379A70:19B9801:24E2AD1:6A4CDBFD |
| html-safe-nonce | f8bd7ac90bc00d5b295c4c333c4b6cfaa53e467c2d013161c552ea2529b1090e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0YwOjM3OUE3MDoxOUI5ODAxOjI0RTJBRDE6NkE0Q0RCRkQiLCJ2aXNpdG9yX2lkIjoiODAyMTU1MDA3NjUwODU2MDM4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 327c4224eb9e00dafed241e4ba00bd48df32c6ab000b84dd94591b8263e3e9a7 |
| hovercard-subject-tag | repository:86068065 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/5cript/interval-tree |
| twitter:image | https://opengraph.githubassets.com/3e7503d42f151d480e8ce5ac0ec3960b97837d8ffef6b14b9441c13e89e24fdb/5cript/interval-tree |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3e7503d42f151d480e8ce5ac0ec3960b97837d8ffef6b14b9441c13e89e24fdb/5cript/interval-tree |
| og:image:alt | A C++ header only interval tree implementation. Contribute to 5cript/interval-tree development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8 |
| turbo-cache-control | no-cache |
| go-import | github.com/5cript/interval-tree git https://github.com/5cript/interval-tree.git |
| octolytics-dimension-user_id | 6238896 |
| octolytics-dimension-user_login | 5cript |
| octolytics-dimension-repository_id | 86068065 |
| octolytics-dimension-repository_nwo | 5cript/interval-tree |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 86068065 |
| octolytics-dimension-repository_network_root_nwo | 5cript/interval-tree |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3eeb74f55ccd8a31bdaec6839577c592bbf7844c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/5cript/interval-tree#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2F5cript%2Finterval-tree |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2F5cript%2Finterval-tree |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=5cript%2Finterval-tree |
| Reload | https://github.com/5cript/interval-tree |
| Reload | https://github.com/5cript/interval-tree |
| Reload | https://github.com/5cript/interval-tree |
|
5cript
| https://github.com/5cript |
| interval-tree | https://github.com/5cript/interval-tree |
|
Notifications
| https://github.com/login?return_to=%2F5cript%2Finterval-tree |
|
Fork
20
| https://github.com/login?return_to=%2F5cript%2Finterval-tree |
|
Star
73
| https://github.com/login?return_to=%2F5cript%2Finterval-tree |
|
Code
| https://github.com/5cript/interval-tree |
|
Issues
0
| https://github.com/5cript/interval-tree/issues |
|
Pull requests
0
| https://github.com/5cript/interval-tree/pulls |
|
Actions
| https://github.com/5cript/interval-tree/actions |
|
Projects
| https://github.com/5cript/interval-tree/projects |
|
Security and quality
0
| https://github.com/5cript/interval-tree/security |
|
Insights
| https://github.com/5cript/interval-tree/pulse |
|
Code
| https://github.com/5cript/interval-tree |
|
Issues
| https://github.com/5cript/interval-tree/issues |
|
Pull requests
| https://github.com/5cript/interval-tree/pulls |
|
Actions
| https://github.com/5cript/interval-tree/actions |
|
Projects
| https://github.com/5cript/interval-tree/projects |
|
Security and quality
| https://github.com/5cript/interval-tree/security |
|
Insights
| https://github.com/5cript/interval-tree/pulse |
| https://github.com/5cript/interval-tree |
| Branches | https://github.com/5cript/interval-tree/branches |
| Tags | https://github.com/5cript/interval-tree/tags |
| https://github.com/5cript/interval-tree/branches |
| https://github.com/5cript/interval-tree/tags |
| 213 Commits | https://github.com/5cript/interval-tree/commits/master/ |
| https://github.com/5cript/interval-tree/commits/master/ |
| .github/workflows | https://github.com/5cript/interval-tree/tree/master/.github/workflows |
| .github/workflows | https://github.com/5cript/interval-tree/tree/master/.github/workflows |
| cairo-wrap @ 21307e5 | https://github.com/5cript/cairo-wrap/tree/21307e54e547d2ed12fb2894aed7050c59956c08 |
| cairo-wrap @ 21307e5 | https://github.com/5cript/cairo-wrap/tree/21307e54e547d2ed12fb2894aed7050c59956c08 |
| cmake | https://github.com/5cript/interval-tree/tree/master/cmake |
| cmake | https://github.com/5cript/interval-tree/tree/master/cmake |
| drawings | https://github.com/5cript/interval-tree/tree/master/drawings |
| drawings | https://github.com/5cript/interval-tree/tree/master/drawings |
| example | https://github.com/5cript/interval-tree/tree/master/example |
| example | https://github.com/5cript/interval-tree/tree/master/example |
| include/interval-tree | https://github.com/5cript/interval-tree/tree/master/include/interval-tree |
| include/interval-tree | https://github.com/5cript/interval-tree/tree/master/include/interval-tree |
| tests | https://github.com/5cript/interval-tree/tree/master/tests |
| tests | https://github.com/5cript/interval-tree/tree/master/tests |
| .clang-format | https://github.com/5cript/interval-tree/blob/master/.clang-format |
| .clang-format | https://github.com/5cript/interval-tree/blob/master/.clang-format |
| .gitignore | https://github.com/5cript/interval-tree/blob/master/.gitignore |
| .gitignore | https://github.com/5cript/interval-tree/blob/master/.gitignore |
| .gitmodules | https://github.com/5cript/interval-tree/blob/master/.gitmodules |
| .gitmodules | https://github.com/5cript/interval-tree/blob/master/.gitmodules |
| CMakeLists.txt | https://github.com/5cript/interval-tree/blob/master/CMakeLists.txt |
| CMakeLists.txt | https://github.com/5cript/interval-tree/blob/master/CMakeLists.txt |
| LICENSE | https://github.com/5cript/interval-tree/blob/master/LICENSE |
| LICENSE | https://github.com/5cript/interval-tree/blob/master/LICENSE |
| README.md | https://github.com/5cript/interval-tree/blob/master/README.md |
| README.md | https://github.com/5cript/interval-tree/blob/master/README.md |
| README | https://github.com/5cript/interval-tree |
| CC0-1.0 license | https://github.com/5cript/interval-tree |
| https://github.com/5cript/interval-tree#interval-tree |
| Interval Tree | https://github.com/5cript/interval-tree#interval-tree |
| How an interval tree looks like: | https://github.com/5cript/interval-tree#how-an-interval-tree-looks-like |
| Example | https://github.com/5cript/interval-tree#example |
| Compile & Run Testing | https://github.com/5cript/interval-tree#compile--run-testing |
| Free Functions | https://github.com/5cript/interval-tree#free-functions |
| Members of IntervalTree | https://github.com/5cript/interval-tree#members-of-intervaltree |
| Members of Interval | https://github.com/5cript/interval-tree#members-of-interval |
| https://github.com/5cript/interval-tree#how-an-interval-tree-looks-like |
| https://cloud.githubusercontent.com/assets/6238896/24608762/36422d7c-1878-11e7-9c5c-a45bdcd6e187.png |
| https://github.com/5cript/interval-tree#example |
| https://github.com/5cript/interval-tree#compile--run-testing |
| https://github.com/5cript/interval-tree#draw-dot-graph |
| https://github.com/5cript/interval-tree#free-functions |
| https://github.com/5cript/interval-tree#intervalnumerict-kind-make_safe_intervalnumerict-border1-numerict-border2 |
| https://github.com/5cript/interval-tree#draw_dot_graphstdostream-os-interval_tree_t-const-tree-drawoptions-const-options |
| https://github.com/5cript/interval-tree#members-of-intervaltree |
| interval-tree | https://github.com/5cript/interval-tree#interval-tree |
| How an interval tree looks like: | https://github.com/5cript/interval-tree#how-an-interval-tree-looks-like |
| Example | https://github.com/5cript/interval-tree#example |
| Compile & Run Testing | https://github.com/5cript/interval-tree#compile--run-testing |
| Draw Dot Graph | https://github.com/5cript/interval-tree#draw-dot-graph |
| Free Functions | https://github.com/5cript/interval-tree#free-functions |
| interval make_safe_interval(NumericT border1, NumericT border2) | https://github.com/5cript/interval-tree#intervalnumerict-kind-make_safe_intervalnumerict-border1-numerict-border2 |
| draw_dot_graph(std::ostream& os, interval_tree_t const& tree, DrawOptions const& options) | https://github.com/5cript/interval-tree#draw_dot_graphstdostream-os-interval_tree_t-const-tree-drawoptions-const-options |
| Members of IntervalTree | https://github.com/5cript/interval-tree#members-of-intervaltree |
| iterator insert(interval_type const& ival) | https://github.com/5cript/interval-tree#iterator-insertinterval_type-const-ival |
| Parameters | https://github.com/5cript/interval-tree#parameters |
| iterator insert_overlap(interval_type const& ival, bool, bool) | https://github.com/5cript/interval-tree#iterator-insert_overlapinterval_type-const-ival-bool-bool |
| Parameters | https://github.com/5cript/interval-tree#parameters-1 |
| iterator erase(iterator iter) | https://github.com/5cript/interval-tree#iterator-eraseiterator-iter |
| Parameters | https://github.com/5cript/interval-tree#parameters-2 |
| size_type size() const | https://github.com/5cript/interval-tree#size_type-size-const |
| (const)iterator find(interval_type const& ival) | https://github.com/5cript/interval-tree#constiterator-findinterval_type-const-ival |
| Parameters | https://github.com/5cript/interval-tree#parameters-3 |
| (const)iterator find(interval_type const& ival, CompareFunctionT const& compare) | https://github.com/5cript/interval-tree#constiterator-findinterval_type-const-ival-comparefunctiont-const-compare |
| Parameters | https://github.com/5cript/interval-tree#parameters-4 |
| (const)iterator find_all(interval_type const& ival, OnFindFunctionT const& on_find) | https://github.com/5cript/interval-tree#constiterator-find_allinterval_type-const-ival-onfindfunctiont-const-on_find |
| Parameters | https://github.com/5cript/interval-tree#parameters-5 |
| Example | https://github.com/5cript/interval-tree#example-1 |
| (const)iterator find_all(interval_type const& ival, OnFindFunctionT const& on_find, CompareFunctionT const& compare) | https://github.com/5cript/interval-tree#constiterator-find_allinterval_type-const-ival-onfindfunctiont-const-on_find-comparefunctiont-const-compare |
| Parameters | https://github.com/5cript/interval-tree#parameters-6 |
| (const)iterator find_next_in_subtree(iterator from, interval_type const& ival) | https://github.com/5cript/interval-tree#constiterator-find_next_in_subtreeiterator-from-interval_type-const-ival |
| Parameters | https://github.com/5cript/interval-tree#parameters-7 |
| (const)iterator find_next_in_subtree(iterator from, interval_type const& ival, CompareFunctionT const& compare) | https://github.com/5cript/interval-tree#constiterator-find_next_in_subtreeiterator-from-interval_type-const-ival-comparefunctiont-const-compare |
| Parameters | https://github.com/5cript/interval-tree#parameters-8 |
| (const)iterator overlap_find(interval_type const& ival, bool exclusive) | https://github.com/5cript/interval-tree#constiterator-overlap_findinterval_type-const-ival-bool-exclusive |
| Parameters | https://github.com/5cript/interval-tree#parameters-9 |
| (const)iterator overlap_find_all(interval_type const& ival, OnFindFunctionT const& on_find, bool exclusive) | https://github.com/5cript/interval-tree#constiterator-overlap_find_allinterval_type-const-ival-onfindfunctiont-const-on_find-bool-exclusive |
| Parameters | https://github.com/5cript/interval-tree#parameters-10 |
| Example | https://github.com/5cript/interval-tree#example-2 |
| (const)iterator overlap_find_next_in_subtree(interval_type const& ival, bool exclusive) | https://github.com/5cript/interval-tree#constiterator-overlap_find_next_in_subtreeinterval_type-const-ival-bool-exclusive |
| Parameters | https://github.com/5cript/interval-tree#parameters-11 |
| interval_tree& deoverlap() | https://github.com/5cript/interval-tree#interval_tree-deoverlap |
| After deoverlap | https://github.com/5cript/interval-tree#after-deoverlap |
| interval_tree deoverlap_copy() | https://github.com/5cript/interval-tree#interval_tree-deoverlap_copy |
| interval_tree punch(interval_type const& ival) | https://github.com/5cript/interval-tree#interval_tree-punchinterval_type-const-ival |
| Before punching (closed intervals) | https://github.com/5cript/interval-tree#before-punching-closed-intervals |
| After punching (with [-10, 60]) | https://github.com/5cript/interval-tree#after-punching-with--10-60 |
| interval_tree punch() | https://github.com/5cript/interval-tree#interval_tree-punch |
| bool empty() const noexcept | https://github.com/5cript/interval-tree#bool-empty-const-noexcept |
| iterator begin() | https://github.com/5cript/interval-tree#iterator-begin |
| iterator end() | https://github.com/5cript/interval-tree#iterator-end |
| iterator cbegin() | https://github.com/5cript/interval-tree#iterator-cbegin |
| iterator cend() | https://github.com/5cript/interval-tree#iterator-cend |
| reverse_iterator rbegin() | https://github.com/5cript/interval-tree#reverse_iterator-rbegin |
| reverse_iterator rend() | https://github.com/5cript/interval-tree#reverse_iterator-rend |
| reverse_iterator crbegin() | https://github.com/5cript/interval-tree#reverse_iterator-crbegin |
| reverse_iterator crend() | https://github.com/5cript/interval-tree#reverse_iterator-crend |
| void erase_range(interval_type const& ival) | https://github.com/5cript/interval-tree#void-erase_rangeinterval_type-const-ival |
| void erase_range(interval_type const& ival, bool retainSlices) | https://github.com/5cript/interval-tree#void-erase_rangeinterval_type-const-ival-bool-retainslices |
| Members of Interval | https://github.com/5cript/interval-tree#members-of-interval |
| using value_type | https://github.com/5cript/interval-tree#using-value_type |
| using interval_kind | https://github.com/5cript/interval-tree#using-interval_kind |
| friend bool operator==(interval const& lhs, interval const& other) | https://github.com/5cript/interval-tree#friend-bool-operatorinterval-const-lhs-interval-const-other |
| friend bool operator!=(interval const& lhs, interval const& other) | https://github.com/5cript/interval-tree#friend-bool-operatorinterval-const-lhs-interval-const-other-1 |
| value_type low() const | https://github.com/5cript/interval-tree#value_type-low-const |
| value_type high() const | https://github.com/5cript/interval-tree#value_type-high-const |
| DEPRECATED bool overlaps(value_type l, value_type h) const | https://github.com/5cript/interval-tree#deprecated-bool-overlapsvalue_type-l-value_type-h-const |
| bool overlaps_exclusive(value_type l, value_type h) const | https://github.com/5cript/interval-tree#bool-overlaps_exclusivevalue_type-l-value_type-h-const |
| bool overlaps(interval const& other) const | https://github.com/5cript/interval-tree#bool-overlapsinterval-const-other-const |
| bool overlaps_exclusive(interval const& other) const | https://github.com/5cript/interval-tree#bool-overlaps_exclusiveinterval-const-other-const |
| bool within(value_type value) const | https://github.com/5cript/interval-tree#bool-withinvalue_type-value-const |
| bool within(interval const& other) const | https://github.com/5cript/interval-tree#bool-withininterval-const-other-const |
| value_type operator-(interval const& other) const | https://github.com/5cript/interval-tree#value_type-operator-interval-const-other-const |
| value_type size() const | https://github.com/5cript/interval-tree#value_type-size-const |
| interval join(interval const& other) const | https://github.com/5cript/interval-tree#interval-joininterval-const-other-const |
| slice_type slice(interval const& other) const | https://github.com/5cript/interval-tree#slice_type-sliceinterval-const-other-const |
| https://github.com/5cript/interval-tree#iterator-insertinterval_type-const-ival |
| https://github.com/5cript/interval-tree#parameters |
| https://github.com/5cript/interval-tree#iterator-insert_overlapinterval_type-const-ival-bool-bool |
| https://github.com/5cript/interval-tree#parameters-1 |
| https://github.com/5cript/interval-tree#iterator-eraseiterator-iter |
| https://github.com/5cript/interval-tree#parameters-2 |
| https://github.com/5cript/interval-tree#size_type-size-const |
| https://github.com/5cript/interval-tree#constiterator-findinterval_type-const-ival |
| https://github.com/5cript/interval-tree#parameters-3 |
| https://github.com/5cript/interval-tree#constiterator-findinterval_type-const-ival-comparefunctiont-const-compare |
| https://github.com/5cript/interval-tree#parameters-4 |
| https://github.com/5cript/interval-tree#constiterator-find_allinterval_type-const-ival-onfindfunctiont-const-on_find |
| https://github.com/5cript/interval-tree#parameters-5 |
| https://github.com/5cript/interval-tree#example-1 |
| https://github.com/5cript/interval-tree#constiterator-find_allinterval_type-const-ival-onfindfunctiont-const-on_find-comparefunctiont-const-compare |
| https://github.com/5cript/interval-tree#parameters-6 |
| https://github.com/5cript/interval-tree#constiterator-find_next_in_subtreeiterator-from-interval_type-const-ival |
| https://github.com/5cript/interval-tree#parameters-7 |
| https://github.com/5cript/interval-tree#constiterator-find_next_in_subtreeiterator-from-interval_type-const-ival-comparefunctiont-const-compare |
| https://github.com/5cript/interval-tree#parameters-8 |
| https://github.com/5cript/interval-tree#constiterator-overlap_findinterval_type-const-ival-bool-exclusive |
| https://github.com/5cript/interval-tree#parameters-9 |
| https://github.com/5cript/interval-tree#constiterator-overlap_find_allinterval_type-const-ival-onfindfunctiont-const-on_find-bool-exclusive |
| https://github.com/5cript/interval-tree#parameters-10 |
| https://github.com/5cript/interval-tree#example-2 |
| https://github.com/5cript/interval-tree#constiterator-overlap_find_next_in_subtreeinterval_type-const-ival-bool-exclusive |
| https://github.com/5cript/interval-tree#parameters-11 |
| https://github.com/5cript/interval-tree#interval_tree-deoverlap |
| https://github.com/5cript/interval-tree#after-deoverlap |
| https://user-images.githubusercontent.com/6238896/55505612-c5a96c80-5653-11e9-81f8-28a8ae35a077.png |
| https://github.com/5cript/interval-tree#interval_tree-deoverlap_copy |
| https://github.com/5cript/interval-tree#interval_tree-punchinterval_type-const-ival |
| https://github.com/5cript/interval-tree#before-punching-closed-intervals |
| https://camo.githubusercontent.com/bf585ce965a8a91ea2897c06d769cdad19756db4d01ec1ac873f1d6c535f07ac/68747470733a2f2f3563726970742e6769746875622e696f2f726561646d652d696d616765732f696e74657276616c2d747265652f70756e63685f736f757263652e706e67 |
| https://github.com/5cript/interval-tree#after-punching-with--10-60 |
| https://camo.githubusercontent.com/7c05c97b10e3915d419de61785269e2251a600a223ddc4d6e5164423ed8939dd/68747470733a2f2f3563726970742e6769746875622e696f2f726561646d652d696d616765732f696e74657276616c2d747265652f70756e63685f726573756c742e706e67 |
| https://github.com/5cript/interval-tree#interval_tree-punch |
| https://github.com/5cript/interval-tree#bool-empty-const-noexcept |
| https://github.com/5cript/interval-tree#iterator-begin |
| https://github.com/5cript/interval-tree#iterator-end |
| https://github.com/5cript/interval-tree#iterator-cbegin |
| https://github.com/5cript/interval-tree#iterator-cend |
| https://github.com/5cript/interval-tree#reverse_iterator-rbegin |
| https://github.com/5cript/interval-tree#reverse_iterator-rend |
| https://github.com/5cript/interval-tree#reverse_iterator-crbegin |
| https://github.com/5cript/interval-tree#reverse_iterator-crend |
| https://github.com/5cript/interval-tree#void-erase_rangeinterval_type-const-ival |
| https://github.com/5cript/interval-tree#void-erase_rangeinterval_type-const-ival-bool-retainslices |
| https://github.com/5cript/interval-tree#members-of-interval |
| Members of Interval | https://github.com/5cript/interval-tree#members-of-interval |
| using value_type | https://github.com/5cript/interval-tree#using-value_type |
| using interval_kind | https://github.com/5cript/interval-tree#using-interval_kind |
| friend bool operator==(interval const& lhs, interval const& other) | https://github.com/5cript/interval-tree#friend-bool-operatorinterval-const-lhs-interval-const-other |
| friend bool operator!=(interval const& lhs, interval const& other) | https://github.com/5cript/interval-tree#friend-bool-operatorinterval-const-lhs-interval-const-other-1 |
| value_type low() const | https://github.com/5cript/interval-tree#value_type-low-const |
| value_type high() const | https://github.com/5cript/interval-tree#value_type-high-const |
| DEPRECATED bool overlaps(value_type l, value_type h) const | https://github.com/5cript/interval-tree#bool-overlapsvalue_type-l-value_type-h-const |
| bool overlaps_exclusive(value_type l, value_type h) const | https://github.com/5cript/interval-tree#bool-overlaps_exclusivevalue_type-l-value_type-h-const |
| bool overlaps(interval const& other) const | https://github.com/5cript/interval-tree#bool-overlapsinterval-const-other-const |
| bool overlaps_exclusive(interval const& other) const | https://github.com/5cript/interval-tree#bool-overlaps_exclusiveinterval-const-other-const |
| bool within(value_type value) const | https://github.com/5cript/interval-tree#bool-withinvalue_type-value-const |
| bool within(interval const& other) const | https://github.com/5cript/interval-tree#bool-withininterval-const-other-const |
| value_type operator-(interval const& other) const | https://github.com/5cript/interval-tree#value_type-operator-interval-const-other-const |
| value_type size() const | https://github.com/5cript/interval-tree#value_type-size-const |
| interval join(interval const& other) const | https://github.com/5cript/interval-tree#interval-joininterval-const-other-const |
| slice_type slice(interval const& other) const | https://github.com/5cript/interval-tree#slice_type-sliceinterval-const-other-const |
| https://github.com/5cript/interval-tree#using-value_type |
| https://github.com/5cript/interval-tree#using-interval_kind |
| https://github.com/5cript/interval-tree#friend-bool-operatorinterval-const-lhs-interval-const-other |
| https://github.com/5cript/interval-tree#friend-bool-operatorinterval-const-lhs-interval-const-other-1 |
| https://github.com/5cript/interval-tree#value_type-low-const |
| https://github.com/5cript/interval-tree#value_type-high-const |
| https://github.com/5cript/interval-tree#deprecated-bool-overlapsvalue_type-l-value_type-h-const |
| https://github.com/5cript/interval-tree#bool-overlaps_exclusivevalue_type-l-value_type-h-const |
| https://github.com/5cript/interval-tree#bool-overlapsinterval-const-other-const |
| https://github.com/5cript/interval-tree#bool-overlaps_exclusiveinterval-const-other-const |
| https://github.com/5cript/interval-tree#bool-withinvalue_type-value-const |
| https://github.com/5cript/interval-tree#bool-withininterval-const-other-const |
| https://github.com/5cript/interval-tree#value_type-operator-interval-const-other-const |
| https://github.com/5cript/interval-tree#value_type-size-const |
| https://github.com/5cript/interval-tree#interval-joininterval-const-other-const |
| https://github.com/5cript/interval-tree#slice_type-sliceinterval-const-other-const |
|
overlap
| https://github.com/topics/overlap |
|
cpp11
| https://github.com/topics/cpp11 |
|
red-black-tree
| https://github.com/topics/red-black-tree |
|
interval-tree
| https://github.com/topics/interval-tree |
|
interval
| https://github.com/topics/interval |
|
intervals
| https://github.com/topics/intervals |
|
Readme
| https://github.com/5cript/interval-tree#readme-ov-file |
|
CC0-1.0 license
| https://github.com/5cript/interval-tree#CC0-1.0-1-ov-file |
| Please reload this page | https://github.com/5cript/interval-tree |
|
Activity | https://github.com/5cript/interval-tree/activity |
|
20
forks | https://github.com/5cript/interval-tree/forks |
|
Report repository
| https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2F5cript%2Finterval-tree&report=5cript+%28user%29 |
| Releases
22 | https://github.com/5cript/interval-tree/releases |
|
v3.1.2 Guard against overflow for dynamic interval overlap
Latest
Jun 25, 2026
| https://github.com/5cript/interval-tree/releases/tag/v3.1.2 |
| + 21 releases | https://github.com/5cript/interval-tree/releases |
| Packages
0 | https://github.com/users/5cript/packages?repo_name=interval-tree |
| Please reload this page | https://github.com/5cript/interval-tree |
| Please reload this page | https://github.com/5cript/interval-tree |
| Contributors | https://github.com/5cript/interval-tree/graphs/contributors |
| Please reload this page | https://github.com/5cript/interval-tree |
|
C++
98.5%
| https://github.com/5cript/interval-tree/search?l=c%2B%2B |
|
CMake
1.5%
| https://github.com/5cript/interval-tree/search?l=cmake |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |