http://d.puremagic.com/issues/show_bug.cgi?id=7013



--- Comment #2 from bearophile_h...@eml.cc 2013-07-09 09:57:35 PDT ---
(In reply to comment #1)
> In latest git HEAD, the following works:
> 
> import std.bigint;
> void main() {
>         BigInt x = 123;
>         BigInt y = 321;
>         x += y;
>         assert(x == 444);
> }
> 
> Not sure what's happening under the hood, though. Is it making internal
> allocations?

That code works, but it's not about what this enhancement request is about.
When you perform x+=y; the data inside x probably doesn't change.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to