Destroying structs (literally)

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 28 19:37:13 PDT 2014


On Thu, Aug 28, 2014 at 07:21:04PM -0700, Andrei Alexandrescu via Digitalmars-d wrote:
> Dear community, are you ready for this?
> 
> https://issues.dlang.org/show_bug.cgi?id=2834
> https://github.com/D-Programming-Language/druntime/pull/864
> 
> We must do it, and the way I see it the earlier the better. Shall we
> do it in 2.067?

Let's do it. Issue 2834 was filed in 2009. It's almost winning the
longest-open-bug award. It's about time we did something.


> This is a significant change of behavior. Should we provide a
> temporary flag or attribute to disable it?
[...]

Maybe a more relevant question might be, is there any existing code that
*isn't* broken by structs not being destructed? (D-structed, har har.)


T

-- 
If I were two-faced, would I be wearing this one? -- Abraham Lincoln


More information about the Digitalmars-d mailing list