Skip to content

Added documentation for rbegin etc. #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ Creates an interval where the borders are sorted so the lower border is the firs
- [iterator end()](#iterator-end)
- [iterator cbegin()](#iterator-cbegin)
- [iterator cend()](#iterator-cend)
- [iterator rbegin()](#iterator-rbegin)
- [iterator rend()](#iterator-rend)
- [iterator crbegin()](#iterator-crbegin)
- [iterator crend()](#iterator-crend)

### iterator insert(interval_type const& ival)
Adds an interval into the tree.
Expand Down Expand Up @@ -287,6 +291,32 @@ Returns a past the end const_iterator.

---

---
### iterator rbegin()
Returns the iterator of the interval with the highest lower_bound.

**Returns**: rbegin iterator.

---
### iterator rend()
Returns a past the end iterator in reverse.

**Returns**: past the end iterator.

---
### iterator crbegin()
Returns the const_iterator of the interval with the highest lower_bound.

**Returns**: begin iterator.

---
### iterator crend()
Returns a past the end const_iterator in reverse.

**Returns**: past the end const_iterator.

---

## Members of Interval
___You can implement your own interval if you provide all the same functions.___

Expand Down