Function with try/catch and no return statement

Trass3r un at known.com
Sat Feb 6 07:13:39 PST 2010


> I'd say it's as it should. Even though in this particular situation  
> there is no way the catch block will be used, it's needed for generic  
> programming. Consider this:
>

What the hell are you talking about? His post isn't about throwing  
exceptions.
There is no return statement and it compiles nevertheless.



More information about the Digitalmars-d mailing list