Testing lazy ranges in post-conditions
Peter Alexander via Digitalmars-d
digitalmars-d at puremagic.com
Mon Nov 24 03:56:15 PST 2014
Should be able to do:
assert(result.save.all!(x => x < 10));
But iota's save isn't const, so you can't (that's a bug).
More information about the Digitalmars-d
mailing list