Template Function ADS::in_visit(Tree<T> *, int, F&&)

Function Documentation

template<class T, class F>
void ADS::in_visit(Tree<T> *t, int i, F &&f)

in-visit(): the first i subtrees, the root, the other subtrees

Pre:

t is a node and i >= 0