I tried to declare an iterator inside a template class, but the compiler
regards list<State>::iterator as an expression, instead of an iterator.
template <class State>
What's wrong here, what should I do to fix this problem?
Thanks a lot!