About the Expressiveness of D

Walter Bright newshound2 at digitalmars.com
Wed Apr 3 11:27:38 PDT 2013


On 4/3/2013 11:08 AM, Jonathan M Davis wrote:
> (with most or all of the missing lines being due to stuff like catching
> Exception and asserting 0 in the catch block for making a function nothrow
> when you know that the code being called will never throw)

Why not just mark them as nothrow? Let the compiler statically check it.



More information about the Digitalmars-d mailing list