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

Function Documentation

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

the postvisit: f( u ) on the subtrees in order, then on the root