www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Automatic Foreach

Bill Baxter Wrote:
 I think that already means call foo with a full slice of array, doesn't 
 it?  Anyway, even if it doesn't you can overload opSlice() currently so 
 that array[] can mean anything you want it to.

Apr 28 2008