Does D have too many features?

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Apr 30 12:06:06 PDT 2012


On 4/30/12, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
> Then
> you can write:
>
> 	uint[] a = [
> 		2: 100,
> 		10: 200
> 	]
>
> and it will be equivalent to:
>
> 	uint[] a = [0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 200];

But you can already use this syntax right now?


More information about the Digitalmars-d mailing list