P99
#define P99_IF_ELSE (   ...)    P99_IF_EQ_0(P99_IS_EQ_0(__VA_ARGS__))

A preprocessor control structure.

Use this as follows

 P99_IF_ELSE(some_expression)(tokens_A)(tokens_B)

This expands to tokens_B if the list expanded to the token 0 and to tokens_A in any other case.

Observe the parenthesis around tokens_A and tokens_B.

Definition at line 159 of file p99_if.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines