|
Boost Users : |
Subject: [Boost-users] Generate automatically an enum inside a template regarding to parameter
From: Hansi (hansipet_at_[hidden])
Date: 2009-02-02 09:02:39
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net