Original Post
Hi, I´ve finished a graphics library and want to release it without source code for now. So I created a .a The problem is that it uses templates. So in order to link it must see the definition .cpp and the client .cpp at the same time. I´ve looked to some solutions over the net, especially in C++ FAQ LITE, but all of them end giving the source code. I was wondering how STL do it, then I discovered that it uses export just like me but instead of including a .cpp it includes a .tcc which seems to be a hidden .cpp How is the best way to do it? Should I put it on a .tcc an give the .h, .tcc and .a ? Does anyone know another solution? Thanks in advance.