Sorry if I don't correctly understand your problem. Are you trying to
do something like the following?

#define x(y) (#y)

int main() {
   char buf[100] = x(TemplateClass<SpecializationClass>);
   printf("%s\n", buf);
}

If you're relying on old preproccesor behavior, you could try to
-traditional-cpp.

You should compile with the -E option and have a look at the code
produced after preprocessing.

Regards,

Ryan Mansfield

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to