The problem is that I have two enumerations in two different files that must have the same sets of constants (two different processes are generated by two files along with other files). I want the enums to be in sync, that is, when someone adds a new value to enum x and forgets to update another enum, I want to throw a compilation error. Is it possible?
Sajiv selvaraj
source
share