On Wednesday, May 29, 2013 15:08:24 Jonathan M Davis wrote: > Wrap the try-catch in a function. > > int foo() > { > int initI() > { > try > return createTheVar(); > catch(Exception e) > return int.init; > }
Ouch, my e-mail client ate the indentation. That should be int initI() { try return createTheVar(); catch(Exception e) return int.init; } - Jonathan M Davis