1 module imports.ice15200b;
3 template filter(alias pred)
5 auto filter(R)(R range)
7 return FilterResult!(pred, R)(range);
11 struct FilterResult(alias pred, R)
18 while (_input.length && !pred(_input[0]))
20 _input = _input[1..$];
24 @property bool empty()
26 return _input.length == 0;
29 @property auto ref front()
38 _input = _input[1..$];
39 } while (_input.length && !pred(_input[0]));