On 17/01/12 6:48 AM, Andrei Alexandrescu 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

byKey(aa)

Roll a dice, choose one at random.

The only thing properties are good for is distracting us from tabs vs. spaces debates, and other really, really important matters.

Reply via email to