On exceptions in D

Jakob Ovrum jakobovrum at gmail.com
Sun Feb 9 14:16:58 PST 2014


On Sunday, 9 February 2014 at 18:50:57 UTC, Adam D. Ruppe wrote:
> On Sunday, 9 February 2014 at 18:05:42 UTC, Jakob Ovrum wrote:
>> This isn't accurate. GC is inherent to the `new` operator, not 
>> to classes.
>
> The new operator doesn't necessarily have to GC. It isn't hard 
> to hack it to use another method, even for a particular type of 
> object: http://arsdnet.net/dcode/except.d

The `new` operator is intended to imply the infinite lifetime 
model as of the deprecation of overloading `new` and `delete`.


More information about the Digitalmars-d mailing list