Break, continue, return

From Erights

Jump to: navigation, search

The three operators break, continue, and return (collectively ExitExpr) are all very simple syntactic sugar; they exist solely so that writing break instead of break() does not surprisingly do nothing (as it would if break, continue, and return were just conventional names for functions).

break
break expr

expands to

__break()
__break(expr)

and correspondingly for continue and return.

Personal tools
more tools