[Issue 2093] New: string concatenation modifies original
Jarrett Billingsley
kb3ctd2 at yahoo.com
Sat May 10 12:52:49 PDT 2008
<d-bugmail at puremagic.com> wrote in message
news:bug-2093-3 at http.d.puremagic.com/issues/...
> or when I replace
> a ~= b;
> with
> a = a ~ b;
~ always creates a copy, but ~= will attempt to expand the array in-place.
Now, if this is D2, and ~= is expanding an invariant(char)[] in-place, then
_that_ is definitely an issue.
More information about the Digitalmars-d-bugs
mailing list