[Issue 8084] std.stdio.ByLine is not true input range

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 12 19:49:04 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8084



--- Comment #7 from Kenji Hara <k.hara.pg at gmail.com> 2012-05-12 19:50:30 PDT ---
(In reply to comment #5)
(In reply to comment #6)
> (In reply to comment #4)
> > OK. ByLine.front returns the slice of internal line buffer, so it specifies
> > 'temporary' data. We should get dup in each iteration.

I mean we should dup the front of ByLine in *user code* if it is used after
whole iteration, not ByLine should return dup-ed front.

And I can agree that ByLine is *true* input range because it has empty, front,
and popFront. Therefore, the summary was wrong.

Now I think it is correct that this issue was marked as 'resolved wontfix'.

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