I am sorry for sending code with some typing errors. I will try again ;) *************
#define COMMA , #define EXP_INST_COMMON(x) \ template class x; #define EXP_INST_SPECIFIC(x, y) \ template void someFunc< x >( y ); \ EXP_INST_COMMON(x) /* .... */ EXP_INST_SPECIFIC(someClass<int COMMA double>, long) ************* _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus