Yeah sorry about that.
Your class is a template class, so I wanted to know what you instantiated the class with.I'm not sure what you mean about the type of a_elem.
You know, gmListDouble<?>.
That would explain what the type of T is, since GetNext takes an argument of type const T*, so it would help.