Generate automatically an enum inside a template regarding to parameter
2 Feb
2009
2 Feb
'09
2:02 p.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
5765
Age (days ago)
5765
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hansi