void myMethod() throw()

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Mon Jul 20 23:51:23 PDT 2009


Sam Hu wrote:
> Lars T. Kyllingstad Wrote:
>> Yes, it's called nothrow. :)
>>
>> nothrow void myMethod() { ... }
>>
>> -Lars
> 
> Thanks a lot.I have tried to search in section Expression,Statment,Classes ,Handling Errors of D2 spec but no found...


It's located under "Functions":

http://www.digitalmars.com/d/2.0/function.html#nothrow-functions


-Lars


More information about the Digitalmars-d-learn mailing list