[Issue 9674] std.algorithm.filter problems with non-deterministic _input.front
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 9 15:31:41 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9674
--- Comment #2 from timon.gehr at gmx.ch 2013-03-09 15:31:40 PST ---
(In reply to comment #1)
> A solution that does not require caching front is the following:
>
> ...
> void popFront(){ process(); source.popFront(); }
This should obviously reset the flag:
void popFront(){ process(); source.popFront(); processed=false; }
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list