Created attachment 446
patch
std.conv.parse!int only works with char ranges but not wchar nor dchar,
and should advance the given range.
----------
import std.conv, std.range;
void main() {
auto r = take(6, "123 45"d);
assert(parse!int(r) == 123);
assert(r.front == ' ');
}
Comment #1 by dsimcha — 2010-08-15T08:34:25Z
This bug seems to have been fixed some time ago, as I can no longer reproduce it on 2.048.