'function' : invalid template function declaration
You specified an invalid function declaration, such as:
template<typename T> struct X { void mf(const T &); }; template<> struct X<char> { void mf(const char &); }; template<char> void X<char>::mf(const char &) { }
To fix the error in this code, change template<char>
to template<>
.