Template class problem

C Chan CChan@md.aacisd.com
Wed Jul 10 11:46:00 GMT 2002


How can I tell the compiler to instantiations the template class( not the
stl lib, I build a library to have template calss)?
I have been including the source file ( e.g. #include "template1.cpp" in the
template1.h file).
Then I setted the INCLUDE_TEMPLATE_DEFINITION macro in the Makefile. But it
still does not work.

Thanks.

CC Chan



More information about the Gcc-bugs mailing list