Squaring Arrays without Overlapping Array Error

jmh530 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 7 09:45:40 PDT 2015


On Tuesday, 7 July 2015 at 13:58:17 UTC, Steven Schveighoffer 
wrote:
> Yeah, this seems like an unnecessary limitation for exact 
> matching. In other words, if your destination array exactly 
> matches one or more of the arguments, it should be fine. Where 
> the overlapping starts causing problems is something like this:
>
> x[1..$] *= x[0..$-1];
>
> I would love to see this limitation fixed.
>
> -Steve

Do you think I should file a bug report?


More information about the Digitalmars-d-learn mailing list