Question/suggestion about exceptions
Sean Kelly
sean at f4.ca
Tue Oct 24 19:25:48 PDT 2006
Graham St Jack wrote:
>
> It doesn't need to work with extern (C) functions because they don't
> throw exceptions, and even if they did, you could wrap the problematic
> ones in D code so that exceptions would be tracked from there.
extern (C) is just a calling convention. extern (C) functions can be
implemented in D code and can throw exceptions, as far as I know. I do
feel that exception contracts are potentially useful however, even if
I've never really warmed up to a particular implementation.
Sean
More information about the Digitalmars-d
mailing list