Daniel Murphy:

void fun(int[] a)
{
   foreach_reverse(i, 0...a.length)
   {
   }
}

Better (it's a workaround for a D design flaw that we're unwilling to fix):

foreach_reverse(immutable i, 0...a.length)

Bye,
bearophile

Reply via email to