Hello everybody.I'd like to know if there's a way, to extend an Enum, based on version(). I have an Enum, that holds various values, but some are different, in other versions. So the alternative would be to define the Enum several times.
version(x)
{
enum example
{
FOO = 1,
BAR = 2,
}
}
else
{
enum example
{
FOO = 1,
BAR = 3,
}
}
Is there a better way to do this? Maybe a class with static consts...? How should I do it?
Mars
