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));