Make tree_iterator inherit from std::iterator