Strange behavior when concatenating array

Jose Armando Garcia jsancio at gmail.com
Thu Jun 16 21:20:12 PDT 2011


On Fri, Jun 17, 2011 at 1:05 AM, Jose Armando Garcia <jsancio at gmail.com> wrote:
>      tests ~= test;

Btw, if you replace this with 'test[0] = test;' it works as expected.
The postblit ctor and the assignment operator get called and the dtor
is called twice.


More information about the Digitalmars-d-learn mailing list