try/catch idiom in std.datetime

Shammah Chancellor anonymous at coward.com
Thu Nov 21 17:49:10 PST 2013


On 2013-11-18 06:32:46 +0000, Andrei Alexandrescu said:
> 
> 1. Fix scope(failure) and then use it.
> 
> Andrei

Huh?  Scope failure has no purpose here.  It does not CATCH the 
exception and prevent it from bubbling up the call chain.    Try/catch 
does do this.

-Shammah



More information about the Digitalmars-d mailing list