What's wrong with my usage of std.algorithm.map in this code example?

pineapple via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 25 03:24:19 PDT 2016


On Tuesday, 24 May 2016 at 20:18:34 UTC, Steven Schveighoffer 
wrote:
> Slice assignment from range to array is not supported.
>
> In your example, I'm curious why the efforts to specify the 
> type? I think it would work with just saying auto itemstrings = 
> ...
>
> -Steve

I still get an error if I use auto instead.


More information about the Digitalmars-d-learn mailing list