As you see, I want to create a function template with another function of explicit specialization. But when I compile these code there are a error
in this line : template<> char* compare(box a ,box b);
And the compiler's error message here: [Error] template-id 'compare<>'for'char* compare(box, box)' does not match any template declaration
what wrong with that??
Anyway , I am sorry for my terrible English and thanks in advance.