|
inlinestatic |
Recursively visits a subtree, top-first.
f | function to call on each pointer to a node |
dir | left or right subtree first? |
ptr | pointer to root of subtree The template PtrType handles the static and non-static case alike. |
References syten::BinaryTree::Tree< T >::visit_top_rec().