Re: Wrap array into a range.

2016-03-05 Thread Ilya Yaroshenko via Digitalmars-d-learn
On Saturday, 5 March 2016 at 16:28:51 UTC, Alexandru Ermicioi 
wrote:
I have to pass an array to a function that accepts an input 
range. Therefore I need to transform somehow array into an 
input range.


Is there a range that wraps an array in standard library?


You just need to import std.array. --Ilya


Wrap array into a range.

2016-03-05 Thread Alexandru Ermicioi via Digitalmars-d-learn
I have to pass an array to a function that accepts an input 
range. Therefore I need to transform somehow array into an input 
range.


Is there a range that wraps an array in standard library?