add visit_on_exit to iterator implementation

add depth assertion to basic tree iterator test

(0) -300 -100 -30 -10 -2 +2 +10 tip

mercurial