byKey and byValue: properties or methods?

Simen Kjærås simen.kjaras at gmail.com
Tue Jan 17 10:33:41 PST 2012


On Tue, 17 Jan 2012 07:48:26 +0100, Andrei Alexandrescu  
<SeeWebsiteForEmail at erdani.org> wrote:

> I hate I must ask this:
>
> int[string] aa;
> foreach (k; aa.byKey) { ... }
>
> or
>
> int[string] aa;
> foreach (k; aa.byKey()) { ... }
>
>
>
> Thanks,
>
> Andrei "I told you" Alexandrescu

Property.


More information about the Digitalmars-d mailing list