Squaring Arrays without Overlapping Array Error
Steven Schveighoffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jul 7 10:05:21 PDT 2015
On 7/7/15 12:45 PM, jmh530 wrote:
> 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.
>
> Do you think I should file a bug report?
Sure, file as an enhancement.
-Steve
More information about the Digitalmars-d-learn
mailing list