
May 7th, 2003, 04:58 PM
|
|
Junior Member
|
|
Join Date: May 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Static Library using templates
Had some problems getting my static libraries working (actually the compiler was just telling me that it can't find certain functions). I played around with it, created some test libraries and projects that used them - everything was fine, so I just couldn't figure out why one of the static libraries wasn't working. Then I realized that it was because I had a few functions which were templated, and as far as I know, during the compile time the compiler simply creates copies of that function for use with all types that I call it with.
Anyway, is there a way to have a static library which contains templated functions/classes and be able to use them normally in other projects?
|