bit-level logic operations on enums

FG home at fgda.pl
Fri Mar 1 11:32:11 PST 2013


On 2013-03-01 20:13, Steven Schveighoffer wrote:
> D does not (or at least should not) allow assignments of integers back to
> enumeration types.  You have to cast.

or use normal int enum instead of byte enum, if you have the space for it.


More information about the Digitalmars-d mailing list