Can anybody explain why partial specialization is not valid for function template but it\'s fine for class template.
I understand partial specialization might make
Now, I'm not an expert but I think the answer to the first part is that partial function specialisation would conflict (and be partially redundant) with function overloading. As for the second part, you can use a template struct that serves as a container for the thing you want to partially specialise.