Is flags enum needed in Phobos?
Era Scarecrow
rtcvb32 at yahoo.com
Sun Oct 14 22:37:42 PDT 2012
K I have opOpAssign working. I may have to clean up
documentation a little and clean the unittests up a bit, but it
all appears to be working.
Feel free to give it a try.
I have added opSlice, which returns an array of your enum of all
the flags it qualifies for. An empty enum (say, zero) never
qualifies as it has no bits to make it unique (or it would always
be present no matter what).
Mmm... I actually hope that's all that's needed for it.
More information about the Digitalmars-d
mailing list