Skip to content

Adds non-const operator-> to allow mutable access through iterator #44

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

Closed
wants to merge 1 commit into from
Closed

Conversation

sunzz96
Copy link

@sunzz96 sunzz96 commented Jan 2, 2025

A non-const iterator should be able to modify the interval

@sunzz96
Copy link
Author

sunzz96 commented Jan 2, 2025

I realized that changing the interval will cause node changes, so the tree structure will update, and the iterator will become invalid.

@sunzz96 sunzz96 closed this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant