On 2/10/2015 2:45 PM, Walter Bright wrote:
unittest
{
     string s = "hello";
     auto r = InputRange!string(s);
     r.testInputRange(10);

    import std.range;
    assert(isInputRange!(typeof(r)));

}


Forgot to add that. Exactly why this needs to be in a standard module!

Reply via email to