reddit discussion on article by bearophile

Andrei Alexandrescu SeeWebsiteForEmail at
Wed Nov 16 14:37:14 PST 2011

On 11/16/11 11:42 AM, Kagamin wrote:
> Andrei Alexandrescu Wrote:
>> Heh heh... took me a few seconds to figure out what you meant.
> It actually DOES compile because `yellow` and `blue` are in enum previously defined with their respective values 1<<0 and 1<<1, he tried to construct a value-to-string map.

This is actually a pretty awesome fail.


More information about the Digitalmars-d mailing list