how convert the range to slice ?
mzfhhhh via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jan 28 06:32:37 PST 2015
is there any simple way to convert?
int [] arr1 = [1,2,3].map!"a*2"; //compile error
int [] arr2 = [1,2,3].filter!"a<3";//compile error
More information about the Digitalmars-d-learn
mailing list