bool any(R)(R r) if(isInputRange!R) { return !r.empty;}
BTW, I noticed 'any' is not listed in the std.algorithm documentation at the top, even though it is in the docs. Is that a bug with DDoc, or just bad maintenance?
-Steve
bool any(R)(R r) if(isInputRange!R) { return !r.empty;}
BTW, I noticed 'any' is not listed in the std.algorithm documentation at the top, even though it is in the docs. Is that a bug with DDoc, or just bad maintenance?
-Steve