exception types & objects

Steven Schveighoffer schveiguy at yahoo.com
Tue Nov 2 06:38:50 PDT 2010


On Sun, 31 Oct 2010 02:51:53 -0400, Don <nospam at nospam.com> wrote:

> nothrow actually prevents you from throwing anything. A nothrow function  
> may still perform operations which may throw a compiler-generated Error.
> (eg, AssertError, OutOfMemoryError).
> It's only a spec change which is required.

I think you meant to say runtime-generated errors?  If it's just a spec  
change, then why is the compiler failing to compile the code?

-Steve


More information about the Digitalmars-d-learn mailing list