J
John
I want to output the stuff computed using the compiler using template
metaprogrms
(not at runtime but compile time). An easy example is to output the set
of
fibonacii numbers at compile time instead of run time. (using maybe
error messages/
warnings...? Any other way except the output code generated).
Anyone knows if this is possible to do in g++? In general c++?
Thanks,
--j
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
metaprogrms
(not at runtime but compile time). An easy example is to output the set
of
fibonacii numbers at compile time instead of run time. (using maybe
error messages/
warnings...? Any other way except the output code generated).
Anyone knows if this is possible to do in g++? In general c++?
Thanks,
--j
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]