Error: WndProc - nothrow

bearophile bearophileHUGS at lycos.com
Sun Sep 16 14:18:24 PDT 2012


deed:

> I did, but then I am not able to use writeln for debugging.

writeln is a "throwing" function, so you can't use it inside a 
nothrow function.


> Is this restriction something new?

It's not new. I think writeln was always "throwing", since the 
creation of "nothrow".

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list