Array operation a1 + a2 not implemented!

Caligo iteronvexor at gmail.com
Sat Mar 17 23:32:35 PDT 2012


On Sun, Mar 18, 2012 at 1:18 AM, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
>
> Are you trying to concatenate the arrays or sum their elements?
>
> Here's how to concatenate:
>
>        auto r = a1 ~ a2;

Everybody knows about concatenation.

>
> Here's how to sum:
>
>        auto r = a1[] + a2[];
>

With the latest 2.059 I'm getting 'Error: Array operation a1[] + a2[]
not implemented'


More information about the Digitalmars-d mailing list