More useful fixed-size array literals

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Sat May 31 02:08:11 PDT 2014


> int foo(scope int[] items) @nogc {
>     return foo.sum;
> }

That was:

return items.sum;

Bye,
bearophile


More information about the Digitalmars-d mailing list