subclassing
Jesse Phillips
jessekphillips+D at gmail.com
Tue Nov 2 13:12:40 PDT 2010
Jonathan M Davis Wrote:
> I should point out that you forgot the save property, which is required for
> forward ranges (though not input ranges). Without it, any algorithm which
> processes the range will consume it.
Trying to ease this guy into ranges.
I did notice though, the InputRange interface requires quite a few more methods than is required for an InputRange. Specifically, moveFront and opApply. So I guess my question ends up being, why (not to you specifically...)?
More information about the Digitalmars-d-learn
mailing list