Okay, since today its possible to use:
global fcuntion dummies
Structs
lazy enums
The enums are a bit special, thats why i call them "lazy" enums.
you declare them like this:
enum ETest = { Alpha, Beta, Sonstwas};
1) you cant define custom values at the moment
2) every enum value is unique inside an enum declaration
output is like this:
#define ETest int
#define Alpha 0
#define Beta 1
#define Sonstwas 2
So as you can see, if you cant hold back yourself, you can abuse them very easy
. But this should be better to programm and read(if used properly).
And i have something else in my mind, however one question first:
Is it possible to define a SET in C++ which has multiple states?(so in fact flags).
Greetings
Rackscha