On exceptions in D

Jakob Ovrum jakobovrum at gmail.com
Sun Feb 9 10:05:40 PST 2014


On Sunday, 9 February 2014 at 17:57:23 UTC, Dmitry Olshansky 
wrote:
> 1. Exceptions are class instances, hence (by default) are 
> allocated on GC heap. This is wrong default, GC is no place for 
> temporaries.

This isn't accurate. GC is inherent to the `new` operator, not to 
classes.

> void risef(T...)(string fmt, T args)

raise*?


More information about the Digitalmars-d mailing list