| | | | | |

Postorder Iterator

template < typename T >
class TBinaryTreePostorderIterator
{
private:
  TBinaryTree<T>::Navigator nav_;

public:

  // constructors
  TBinaryTreePostorderIterator    ();
  ~TBinaryTreePostorderIterator   ();
  TBinaryTreePostorderIterator    (const TBinaryTreePostorderIterator& i);

  // bidirectional iterator
  // ...

} ; 

| | Top of Page | 15. Trees 2: Dynamic Binary Tree Navigation and Iteration - 14 of 23