Bug 2930 – Problems in std.range documentation

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2009-05-03T15:02:00Z
Last change time
2015-06-09T01:26:25Z
Assigned to
andrei
Creator
bus_dbugzilla

Comments

Comment #0 by bus_dbugzilla — 2009-05-03T15:02:19Z
isRandomAccessRange: Inconsistency between description and sample code. The description indicates the criteria for random-access is "forward or infinite", but the sample code indicates the criteria is "forward and (bidirectional or infinite)". advance: "The pass of r into drop is by reference..." 'drop' should be 'advance' (or maybe the other way around?) retreatN: "The pass of r into advanceRight is by reference..." 'advanceRight' should be 'retreatN' (or maybe the other way around?)
Comment #1 by andrei — 2010-09-26T15:29:04Z