Let's suppose i have a template class like this:
template <class T>
class Foo{
void print(){
::print(T);
}
private:
T data;
}
And this class situated in h file and compiled to static library.
Then i have few more modules, that have linked with this static library and i'm using this Foo class in them.
Is there any way to define specific print function in that modules ? Or I should define global print with specific instantiation only beside Foo class?