April 28, 2008 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.
array.foo() also has an existing meaning of foo(array)
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply