Garmaine Staff asked 2 years ago

I was implementing a function to sort different containers containting different types. I have created template as such:

template<typename Container>
void mySort(Container& container)

And it works for all the purposes I need it to, however for an argument being char[][] I want to change the implementation, so I declared template specialization as such:

template <>
void mySort<char**>(char**& container)

But my program is still using the generic implementation. What is causing this behaviour, have I made mistakes in declaring the specialization?