|
inline |
Visits each node, starting at the left or right bottommost node for const trees.
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_bottom_rec().