http://d.puremagic.com/issues/show_bug.cgi?id=8555
Summary: Round Robin and Infinite Ranges
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Daniel Cousens <[email protected]> 2012-08-15 14:58:29
PDT ---
http://dlang.org/phobos/std_range.html#roundRobin
As would be expected, RoundRobin goes into an infinite loop if the range is
infinite; perhaps !isInfinite!R would be suitable to test against the input
ranges?
This may benefit other exhausting range functions also.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------