You can use anonymous enums. The members will then live in the global scope. You can then use just one alias to an int, uint or what's appropriate.
Yeah but you loose type safety.
You can use anonymous enums. The members will then live in the global scope. You can then use just one alias to an int, uint or what's appropriate.
Yeah but you loose type safety.