Automatic Foreach
janderson
askme at me.com
Sun Apr 27 02:14:53 PDT 2008
Janice Caron wrote:
> Actually, I should have said that, in general, Joel's proposal is
> undefined for all non-unary operations.
>
> a[] = b[] + c[]
>
> f(a[], b[], c[], d[])
>
> etc.
My proposal was to generate nested loops and base it of the order the
arrays where specified. However it could just as easily be parallel for
all values and require that all arrays are the same size.
-Joel
More information about the Digitalmars-d
mailing list