When making overloaded template function is there a difference between template<> or template<type>.
For example is there a difference between
template <class T>
void dispm(T array) {
cout << "called template<class T> void dispm(string array)";
}
template<class T>
void dispm(string array) {
cout << "called template<class T> void dispm(string array)";
}
and
template <class T>
void dispm(T array) {
cout << "called template<class T> void dispm(string array)";
}
template<>
void dispm(string array) {
cout << "called template<class T> void dispm(string array)";
}