enums

Philippe Sigaud via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 30 12:16:53 PDT 2014


On Fri, May 30, 2014 at 7:56 PM, Steven Schveighoffer wrote:

> You can as long as the value is known at compile time:
>
> http://dpaste.dzfl.pl/5a710bd80ab0

Oh wow.

And that works for static if also:

http://dpaste.dzfl.pl/f87321a47834

Man. That opens some new possibilities.


More information about the Digitalmars-d-learn mailing list