Are iterators and ranges going to co-exist?
Walter Bright
newshound1 at digitalmars.com
Thu Jul 22 13:13:21 PDT 2010
Steven Schveighoffer wrote:
>> The algorithm is the one doing the requiring, not the container. So,
>> if there are standard algorithms some of which require ranges and
>> others that require interfaces, the container implementor is obliged
>> to provide both.
>
> Now you are just misinterpreting :) Nobody said anything about D
> interfaces.
I meant iterators, not interfaces. Sorry for the confusion.
More information about the Digitalmars-d
mailing list