erikerlandson / st_tree

A fast and flexible c++ template class for tree data structures
https://github.com/erikerlandson/st_tree/wiki
Apache License 2.0
95 stars 20 forks source link

rename node begin/end to child_begin child_end, implement tree-recursion iterators for nodes #1

Closed erikerlandson closed 13 years ago

erikerlandson commented 13 years ago

It would be nice to be able to do tree-recursion iteration from an arbitrary node/subtree. If I do, I may want to make begin/end for nodes match semantic for tree. In which case the current node begin/end need renaming to child_begin/child_end, or something.

erikerlandson commented 13 years ago

Can now use tree traversal iterators from any node. Decided rename to child_begin/end was unnecessary, just used bf_iterator, etc.