Destroying structs (literally)
monarch_dodra via Digitalmars-d
digitalmars-d at puremagic.com
Thu Aug 28 22:41:40 PDT 2014
On Friday, 29 August 2014 at 02:21:07 UTC, Andrei Alexandrescu
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?
>
> This is a significant change of behavior. Should we provide a
> temporary flag or attribute to disable it?
>
>
> Thanks,
>
> Andrei
Questions:
- Can and will this work for arrays of structs?
- When doing manual GC allocations (for whatever reason), how can
we later tell the GC what destructor to call?
These questions combined are really aimed at Appender: I'm
curious at if and how any changes will have to be made to it.
Also question: Will this play nice wit exiting code that manually
destroys GC allocated structs?
More information about the Digitalmars-d
mailing list