static array literal syntax request: auto x=[1,2,3]S;
Mehrdad
wfunction at hotmail.com
Sun Jun 10 19:13:42 PDT 2012
On Monday, 11 June 2012 at 00:57:45 UTC, Jonathan M Davis wrote:
> And if all range-based functions were altered to work with
> static arrays, and we made array literals static, then this
> example would _still_ be broken
> auto found = find(arr, [1, 2]);
Sorry, I don't quite seem to follow. :\
Would you mind explaining why it's broken?
More information about the Digitalmars-d
mailing list