What is wrong with this:

Code:
template<class T>
void printList(const List<T> &list)
{
...
}
I want to be able to create a template function using the list container, so i can print lists of ints, doubles, strings, etc....

thanks