I wrote a function that accepts input ranges, and I get compile errors when passing an array

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 27 07:59:25 PDT 2016


On Friday, 27 May 2016 at 14:54:30 UTC, pineapple wrote:
> I've encountered one remarkable difference: The phobos function 
> accepts arrays and mine does not.

add `import std.array;` i think to your module and it should make 
arrays ranges


More information about the Digitalmars-d-learn mailing list