If any one wants to distribute it's code containing implementation of template classes and he doen't want anyone to see the code, then obviously he would have to make a library file for that.
I've been reading solutions for compiling template classes, but all those require text files, such as h and/or .cpp.
Now, could you tell me how to hide the implementation code of template classes or in other words, a way to produce a library file that can be distributed to others, so they can't see the code.
There must be a solution, otherwise how c++ compiler vendors made those standard template libraries?