This documentation is archived and is not being maintained.

Selection Statements

The C++ selection statements, if and switch, provide a means to conditionally execute sections of code.

The __if_exists and __if_not_exists statements allow you to conditionally include code depending on the existence of a symbol.


if ( expression ) statement
if ( expression ) statement else statement
switch ( expression ) statement

See Also

Overview of C++ Statements