GC-proof resource classes

ponce via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 29 07:48:29 PDT 2015


On Saturday, 29 August 2015 at 14:17:10 UTC, rsw0x wrote:
>
> All of this could be fixed by not letting the GC call 
> destructors. It's a bad, error-prone design to begin with and I 
> guarantee any semi-large D program is probably abusing 
> undefined behavior due to it.

Indeed.


More information about the Digitalmars-d mailing list