Ranges in std.range vs foreach ranges
Jonathan M Davis
jmdavisProg at gmail.com
Thu Dec 17 02:05:27 PST 2009
The set of properties defined for foreach ranges in the online docs (
http://www.digitalmars.com/d/2.0/statement.html ) does not match those of
the ranges in std.range.
According to the online docs, foreach requires ranges to have
empty
next
retreat
head
toe
while the corresponding properties in std.range would be
empty
popFront
popBack
front
back
Is this because one or the other is not up-to-date? I would assume that we'd
want the two to match up.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list