|
inline |
Visits each node, starting at the left or right bottommost 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_bottom_rec().
Referenced by syten::BinaryTree::Tree< T >::leaf().