D 2015/2016 Vision?
bitwise via Digitalmars-d
digitalmars-d at puremagic.com
Tue Oct 6 15:02:10 PDT 2015
On Tuesday, 6 October 2015 at 20:46:00 UTC, ponce wrote:
> On Tuesday, 6 October 2015 at 20:43:42 UTC, bitwise wrote:
>>
>> I want polymorphism AND deterministic destruction, and the
>> least you could do is just admit that it's a downside to D not
>> having it, instead of trying to tell me that everything I know
>> is wrong..
>
> This problem comes up again and again, here is an ugly trick to
> ease the pain:
> http://p0nce.github.io/d-idioms/#GC-proof-resource-class
Heh...This only adds insult to injury.... I would have thought
the GC was smart enough not to have to do this.
Bit
More information about the Digitalmars-d
mailing list