D's Destructors are What Scott Meyers Warned Us About

sarn sarn at theartofmachinery.com
Wed May 23 22:47:21 UTC 2018


On Wednesday, 23 May 2018 at 02:13:13 UTC, rikki cattermole wrote:
> I would consider the current state with classes a bug.
> So ticket please, it should not require a DIP to change 
> (although Walter may disagree).

Unfortunately, the way __dtor and __xdtor work for classes can't 
be changed without the risk of breaking code.  (Even if the 
current behaviour is broken, users might be working around it.)


More information about the Digitalmars-d mailing list