I tried a Google search for it but didn’t come up with anything. Does anyone know if this can be done? If not is there an elegant work around this?
Update: I think Frank Osterfeld’s answer is the most clear solution. Thanks for all the other answers, I’ve upvoted your answers.
As others said, you cannot redeclare an enum (in which context, which one should be used anyway?).
If you just need some constants, and want extend them for a special case, you can use multiple enum declarations, one extending the other and then use ints to hold the values: