On Monday, 1 August 2016 at 16:18:32 UTC, Patric wrote:
But still.If it was the case of "+=" wasn´t wrong to call the dtor since is a ref var?
No. It was working as expected. You never implemented opAssign, so default assignment was being used. There was no ref variable.