AA literals/initialisation

Dmitry Olshansky dmitry.olsh at gmail.com
Mon Nov 11 03:42:19 PST 2013


11-Nov-2013 15:06, Manu пишет:

>     but enum works fine:
>
>     enum priorityMap = [
>
>          "1" : "blocker",
>          "2" : "critical",
>          "3" : "critical",
>          "4" : "major",
>          "5" : "major",
>          "6" : "major",
>          "7" : "minor",
>          "8" : "minor",
>          "9" : "trivial" ];
>
>
> So it does... I didn't think of an enum AA ;)

... copy pastes that literal everywhere, I'm sure you'll like it ;)

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list