How to call destructor before free without dropping @nogc?

Ferhat Kurtulmuş aferust at gmail.com
Thu Aug 19 15:12:03 UTC 2021


On Thursday, 19 August 2021 at 07:30:38 UTC, Bienlein wrote:
> Hello,
>
> I allocate some instance of class C manually and then free the 
> memory again:
>
> [...]

I just wanted to leave this here.
https://github.com/AuburnSounds/Dplug/blob/master/core/dplug/core/nogc.d


More information about the Digitalmars-d-learn mailing list