Subject: [Boost-users] Preprocessor to generate enum
From: Hansi (hansipet_at_[hidden])
Date: 2009-02-02 08:41:52


Hi,

what is the best way to generate the following enum with the
preprocessor library (boost 1.34.1)?

enum
{
        R1=0,
        R2=1,
        ...
};

Best regards
Hansjörg