control_flow.hpp File Reference

Go to the source code of this file.

Defines

#define _if(cond)
 Starts a block of code that will only execute if cond is true.
#define _else_if(cond)
 Starts a block of code that will only execute if cond is true and conditions for all previous if statements at the same nesting level are false.
#define _else
 Starts a block of code that will only execute if all conditions for any preceding _if and _else statements at the same nesting level are false.
#define _end_if
 Ends a chain of _if/_else_if/_else statements.
#define _while(cond)
 Starts a loop that will repeat as long as cond is true.
#define _end_while
 Ends the current _while loop body.
#define _for(init, cond, step)
 Starts a loop that will evaluate init, then loop as long as cond is true, running step after each iteration.
#define _end_for
 Ends the current _for loop body.
#define _break
 Ends the current innermost loop.
#define _continue
 Continues to the next iteration of the current innermost loop.
#define _do
 Starts a _do/_until loop.
#define _until(cond)
 Ends a _do/_until loop and causes the loop to repeat until cond is true.

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.