Walter Bright wrote: > Overload opIndex for rvalue access > Overload opIndexAssign for lvalue access Could you elaborate on how this would look like ? E.g. a usage example of iterators with the proposed design. > foreach loops will not be able to have a 'key' parameter. What's the particular reason for that restriction ? -- Tomasz Stachowiak