Currently, bitmask enums returned from functions or struct fields are mapped to their symbolic names. This is not necessarily convenient for usage (and possibly unnecessarily inefficient). Might be better to accept them on input params and field store but not map them in the reverse direction.
For consistency, perhaps non-bitmask enums should behave the same way.
Currently, bitmask enums returned from functions or struct fields are mapped to their symbolic names. This is not necessarily convenient for usage (and possibly unnecessarily inefficient). Might be better to accept them on input params and field store but not map them in the reverse direction.
For consistency, perhaps non-bitmask enums should behave the same way.