This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

precomiled template-class member functions


HI!

Recenty I was hit by the problem with precomiled template-class member
functuion. The problem is: It doesn't work.. I've tested it with gcc
3.0 and gcc 2.95.3, and the result was similar -- linker refused to
find precomiled functions which reside in other file..

I think it's know problem, because I've found a reference saying

""" Template member functions must be known to the compiler when the
template is instantiated. The current Gnu g++ compiler does not
support precompiled template classes, therefore the member functions
of templates are inline functions. """

Are there any plans to change it in future?? How can I find any
workarounds, considering that I don't want to recomplile whole prgram
each time I do small change in templated class..

thanks.
-- 
Here I am, fifty-eight, and I still don't know what I want to be when
I grow up.
		-- Peter Drucker


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]