$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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