AA literals/initialisation
Daniel Kozak
kozzi11 at gmail.com
Mon Nov 11 03:50:34 PST 2013
On Monday, 11 November 2013 at 11:43:01 UTC, Dmitry Olshansky
wrote:
> 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 ;)
Yes, it is perfect :D
More information about the Digitalmars-d
mailing list