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

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 9 18:54:11 PDT 2017


On 07/09/2017 01:27 PM, 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

Seems related to https://issues.dlang.org/show_bug.cgi?id=17297. -- Andrei


More information about the Digitalmars-d mailing list