There seems to be a couple of issues here. Firstly, are there really Servers::mergeSort ? You assumed it was looking, but you didn’t really say that there is such a thing. If not, this is not a problem. In this case, the probable reason why he cannot see mergeSort is because he is not in the global namespace (as other answers suggested). If Servers::mergeSort exists, see Diego's answer.
A separate issue is that you include the .cpp file (which is usually odd) because mergeSort is a template? If not, you should probably include the accompanying .h, I think. If so, a more ordinary template should include a file with the template code in the header, for example:
// mergeSort.h // <Begin include guard // <Lots of header stuff> #include "mergeSort.tpp" // <End include guard>
Then you turn on mergeSort.h elsewhere, and this is another minute for customers to remember.
source share