On 31/12/14 15:52, Adam D. Ruppe wrote: > Try writing that: > > void func(scope dtype d) Yep. That's exactly what I was looking for. On GDC it even allows for complete compile time evaluation of the entire loop. Thanks, Shachar