goto a no-go?

monarch_dodra monarchdodra at gmail.com
Tue Oct 1 06:02:54 PDT 2013


On Tuesday, 1 October 2013 at 12:46:50 UTC, Dicebot wrote:
> Can't you use scope guards for that too? Those work for any 
> scope, not only function scope.

I hadn't thought of that before, but I don't think so. scope 
guards are designed to run a specific piece of code, no mater the 
code path.

What I mostly want to do is just break out of a "control block".

Either that, or I'm being retarded...?


More information about the Digitalmars-d mailing list