DMD 1.027 and 2.011 releases
Graham St Jack
Graham.StJack at internode.on.net
Wed Feb 20 16:24:47 PST 2008
>>>
>>> Indicating that a function/method won't throw an exception?
>>
>> yeah but what happend to the express-such-things-via-documention policy
>> to keep syntax simple ?
>
> The compiler can probably do some optimization if it knows that
It is also very helpful when writing code to know that a function you are
calling won't throw an exception - it means you have three kinds of
functions: those that don't throw, those with comments telling you what
they throw, and those that you need to fix the comments for.
More information about the Digitalmars-d-announce
mailing list