|
inline |
Visits each node, starting at the root node.
f | function to call on each pointer to a node |
initial | initial value of the accumulator |
dir | left or right branch first? |
References syten::BinaryTree::Tree< T >::r, and syten::BinaryTree::Tree< T >::visit_top_rec().