Should C functions automatically be nothrow?

Walter Bright newshound2 at digitalmars.com
Mon Feb 6 18:54:41 PST 2012


On 2/6/2012 6:04 PM, Jonathan M Davis wrote:
> Can C functions throw?

Yes. There's no reason you cannot write:

extern (C) void foo() { throw new Exception(); }


More information about the Digitalmars-d mailing list