On Fri, 28 May 2010 19:52:46 -0400, bearophile <[email protected]> wrote:
Simen kjaeraas:
Neat. Worthy an @keyword, I think. "@flag enum foo {...}"

It's cute. But Don hates attributes :-) Recently I have created a thread about this, and some one has written a good enough implementation in normal D code, that can be "good enough".

Also, don't forget CTFE makes this simple to roll your own:
enum foo { bar = 1 << 0, bar2 = 1<<1, ... }

Reply via email to