digitalmars.D.learn - void myMethod() throw()
- Sam Hu (6/6) Jul 19 2009 Does D2 has the equivalent implemenation of exception no throw out of a ...
- Lars T. Kyllingstad (4/13) Jul 20 2009 Yes, it's called nothrow. :)
- Sam Hu (2/8) Jul 20 2009 Thanks a lot.I have tried to search in section Expression,Statment,Class...
- Lars T. Kyllingstad (4/12) Jul 20 2009 It's located under "Functions":
Does D2 has the equivalent implemenation of exception no throw out of a method:
void myMethod() throw(){}
Or,D2 has its own/better implementation on such feature,if yes,what is that?
Thanks in advance.
Regards,
Sam
Jul 19 2009
Sam Hu wrote:
Does D2 has the equivalent implemenation of exception no throw out of a method:
void myMethod() throw(){}
Or,D2 has its own/better implementation on such feature,if yes,what is that?
Thanks in advance.
Regards,
Sam
Yes, it's called nothrow. :)
nothrow void myMethod() { ... }
-Lars
Jul 20 2009
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...
Jul 20 2009
Sam Hu wrote:Lars T. Kyllingstad Wrote:It's located under "Functions": http://www.digitalmars.com/d/2.0/function.html#nothrow-functions -LarsYes, it's called nothrow. :) nothrow void myMethod() { ... } -LarsThanks a lot.I have tried to search in section Expression,Statment,Classes ,Handling Errors of D2 spec but no found...
Jul 20 2009








"Lars T. Kyllingstad" <public kyllingen.NOSPAMnet>