Bug in ^^

jmh530 john.michael.hall at gmail.com
Tue Sep 17 13:59:54 UTC 2019


On Tuesday, 17 September 2019 at 13:48:02 UTC, Brett wrote:
> [snip]
>
>
> Um, duh, but the problem why are they ints?
> [snip]

They are ints because that is how enums work in the D language. 
See 17.3 [1].

[1] https://dlang.org/spec/enum.html#named_enums


More information about the Digitalmars-d mailing list