It's not type safe in C. But you can wrap it in a struct with alias this instead.
Yep, but in D we have strong enums, so why not use them.
It's not type safe in C. But you can wrap it in a struct with alias this instead.
Yep, but in D we have strong enums, so why not use them.