DMD 1.027 and 2.011 releases
Walter Bright
newshound1 at digitalmars.com
Mon Feb 25 08:55:17 PST 2008
Graham St Jack wrote:
> It will be a good trick if you can pull it off. I don't see how it can be
> done without examining the source code of all the called functions,
> leaving us back where we started with throw specs.
>
> The C++ approach of a runtime check isn't perfect, but at least it can be
> done, and provides a more definite form of documentation than comments.
Are you sure it does a runtime check for nothrow?
> If the static checks aren't done well enough and runtime checks aren't
> done at all, I would prefer to rely on comments.
More information about the Digitalmars-d-announce
mailing list