#Enum class doesn't convert to u32 properly
12 messages · Page 1 of 1 (latest)
When your question is answered use !solved or the button below to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
Not without the cast, if it has to be an enum class
There are over 1000 constant values that need to be +1 from one another, so I think I need an enum yes
If its just enum and not enum class then it can implicitly convert to underlying_type
But enummay conflict with other enums that have the same names, right?