More bugs...

Mehrdad wfunction at hotmail.com
Mon Apr 30 18:09:03 PDT 2012


Also, what exactly is wrong with this code?

private import std.range;
void filter(R)(R, bool delegate(ElementType!R)) { }
void main() { [1, 2, 3].filter(delegate bool(x) { return x < 3; }); }



More information about the Digitalmars-d mailing list