Skip to content
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

Rewrite Tree<T> with iterators #21

Open
neiser opened this issue Feb 24, 2016 · 0 comments
Open

Rewrite Tree<T> with iterators #21

neiser opened this issue Feb 24, 2016 · 0 comments

Comments

@neiser
Copy link
Contributor

neiser commented Feb 24, 2016

The current Tree<T> is flawed concering const-correctness, and the user cannot choose whether iteration should happen depth or breadth first. STL iterators could be the right solution here. Also an iterator over the leaves only would be helpful in many situations, or iterators over certain classes of nodes...

See also #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant