
2 Feb
2009
2 Feb
'09
7:02 a.m.
Hi, Is there a way to generate automatically an enum inside an template. I have e.g. the following template: template<int nr> class Test { enum { R1, ... Rx // where x is equal to nr }; } Thanks for any hint! Regards Hansjörg