Invalid foreach aggregate
Chris via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Nov 17 03:10:48 PST 2015
I've checked several options now and it doesn't work.
Here (http://dlang.org/statement.html#foreach-with-ranges) it is
stated that it suffices to have range primitives, if opApply
doesn't exist. My code worked up to 2.068.0, with the
introduction of 2.068.1 it failed. I wonder why that is.
I have empty, front and popFront in my range which is a struct,
and it used to work.
More information about the Digitalmars-d-learn
mailing list