On Wednesday, 25 May 2016 at 16:53:30 UTC, Steven Schveighoffer wrote:
to should work wherever parse works (in fact, whenever you call to!someType(someString), I believe it just forwards to parse).

This is not the case; to doesn't work with ranges:

    auto str = "1234567".byCodeUnit;
    auto result = parse!int(str);
    auto result2 = to!int(str); // doesn't compile

Reply via email to