Trouble creating bidirectional range

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Sep 29 13:42:18 PDT 2013


On Sunday, 29 September 2013 at 20:37:13 UTC, Martin Drasar wrote:
>   static assert(is(typeof(tmp.save) == MyRange!string));

You should call it like this:

static assert(is(typeof(tmp.save()) == MyRange!string));



More information about the Digitalmars-d-learn mailing list