We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Copying a treeset.Iterator will result in panics when treeset.Iterator.Value() is called. I suspect the same holds for all Iterate() methods.
treeset.Iterator
treeset.Iterator.Value()
Iterate()
Because Iterator is stateful, I suggest returning an *Iterator from all Iterate() methods.
Iterator
*Iterator
The text was updated successfully, but these errors were encountered:
@lthibault excuse the late replay, could you provide a sample code that triggers this behaviour?
Sorry, something went wrong.
No branches or pull requests
Copying a
treeset.Iterator
will result in panics whentreeset.Iterator.Value()
is called. I suspect the same holds for allIterate()
methods.Because
Iterator
is stateful, I suggest returning an*Iterator
from allIterate()
methods.The text was updated successfully, but these errors were encountered: