On 2/11/2014 10:00 AM, Adam D. Ruppe wrote:
So this would work too:int handleError(void delegate() dg) { try dg(); catch(Throwable t) return 1; return 0; } int main() { return handleError({ }); }
Oh yea, good point. That's not bad at all;
On 2/11/2014 10:00 AM, Adam D. Ruppe wrote:
So this would work too:int handleError(void delegate() dg) { try dg(); catch(Throwable t) return 1; return 0; } int main() { return handleError({ }); }
Oh yea, good point. That's not bad at all;