On Tuesday, 11 December 2012 at 13:39:22 UTC, Dan wrote:

Can you confirm this with an example? Again, I think default opAssign calls postblit. postblit increments. In this example everything looks fine without opAssign (except for the bug you point out regarding S()).

http://dpaste.dzfl.pl/7fe03a43

Oops. Correct.

Note that opAssign *also* calls the destructor. This is important too, or it would only get half the job done.

Reply via email to