|
inline |
Visits each node, starting at the left or right bottommost node.
f | function to call on each node value |
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().