|
inlinestatic |
Recursively visits a subtree, bottom-first.
f | function to call on each pointer to a node |
initial | initial value of the accumulator |
dir | left or right subtree first? |
ptr | pointer to root of subtree |
References syten::BinaryTree::Tree< T >::visit_bottom_rec().
Referenced by syten::BinaryTree::Tree< T >::visit_bottom(), and syten::BinaryTree::Tree< T >::visit_bottom_rec().