Can't call destroy in nogc context, even though the class destructor being called is marked @nogc

12345swordy via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 10 13:10:58 PDT 2017


On Monday, 10 July 2017 at 17:27:54 UTC, Moritz Maxeiner wrote:
> On Monday, 10 July 2017 at 01:51:11 UTC, 12345swordy wrote:
>> On Sunday, 9 July 2017 at 17:27:51 UTC, 12345swordy wrote:
>>> I have submitted a bug report regarding this:
>>> https://issues.dlang.org/show_bug.cgi?id=17592
>>>
>>> This is IMO severely limit the usage of emplace and destroy 
>>> when it comes to manual memory management. The solutions that 
>>> I find here involves very hackish solutions which is not idea 
>>> for me.
>>>
>>> Alex
>>
>> No responses!?
>
> See long standing `rt_finalize` issue [1], it's unfortunately a 
> non-trivial problem.
>
> [1] https://issues.dlang.org/show_bug.cgi?id=15246

What's the progress regarding fixing it?


More information about the Digitalmars-d mailing list