5.4.2.5 Exit For Statement

 exit-for-statement = "Exit" "For" 

Static Semantics.

§ An <exit-for-statement> MUST be lexically contained inside a <for-statement> or a <for-each-statement>.

 

Runtime Semantics.

§ Execution of the closest lexically-enclosing <for-statement> or <for-each-statement> enclosing this statement immediately completes. No other statements following the <exit-for-statement> in its containing <statement-block> are executed.