1 module imports.linktypeinfo_file;
3 auto filter(alias pred, R)(R r)
5 return FilterResult!(pred, R)(r);
8 struct FilterResult(alias pred, R)
11 bool empty() { return r.empty; }
12 auto front() { return r.front; }
15 while (!r.empty && pred(r.front))
23 @property bool empty() { return r.length == 0; }
24 @property auto front() { return r[0]; }
25 void popFront() { r = r[1..$]; }
29 auto dirEntries(string path)
31 bool f(int de) { return 1; }
32 return filter!f(DirIterator());