This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: using templates in shared library
> Ok, I'll redo the design, this is obviously not a feature that anyone
> has thought of before ;-)
There are actually two different conclusions
a) he who uses shared libraries always has to include code that is
useless to some application; linking statically gives better ways
to omit unneeded things
b) why do you care about the duplicate instantiations? Your program
still should work, it is just using somewhat more disk space.
Regards,
Martin