SyTen

◆ visit_top_rec() [1/3]

template<typename T >
template<typename Func , typename PtrType >
static void syten::BinaryTree::Tree< T >::visit_top_rec ( Func &&  f,
IterFirst const  dir,
PtrType  ptr 
)
inlinestatic

Recursively visits a subtree, top-first.

Parameters
ffunction to call on each pointer to a node
dirleft or right subtree first?
ptrpointer to root of subtree The template PtrType handles the static and non-static case alike.

References syten::BinaryTree::Tree< T >::visit_top_rec().

+ Here is the call graph for this function: