Need Help

Am getting this error when trying to compile this code.
Error 1 error C2955: 'ListIteratorImplementation' : use of class template requires template argument list c:\documents and settings\s6179169.it-students.001\desktop\ass2\ass2\listiteratorimplementation.cpp 38

Can you tell me what's wrong with this code?

1
2
3
4
5
6
template<class DataType> 
ListIteratorImplementation& ListIteratorImplementation<DataType>::operator++()
{
	ListImplementation ltemp=fCurrent->fNext;
	return ltemp;
}
I think you might need to include more of your code.

Topic archived. No new replies allowed.