Input Range addition to associative arrays

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Dec 6 12:43:06 PST 2012


On 12/6/12 2:03 PM, Phil Lavoie wrote:
> Hi,
>
> I am aware that you can iterate over associative arrays in multiple ways
> using the structure's opApply and different delegates returned by
> properties. I think adding a "range" property returning an input range
> to the associative array would benefit the users of the D language.
[snip]
> What are your thoughts?

I also think we should add a forward range interface to AAs.

Andrei


More information about the Digitalmars-d mailing list