Iterators for D

rm roel.mathys at gmail.com
Mon Nov 6 20:31:59 PST 2006


Walter Bright wrote:
> Tom S wrote:
>> Walter Bright wrote:
>>> foreach loops will not be able to have a 'key' parameter.
>> What's the particular reason for that restriction ?
> 
> With an iterator, what is the key?

with an iterator, what is the "value"?
Is it the key-value *pair*, or is it just the key?



More information about the Digitalmars-d mailing list