P99
#define P99_IF_EQ (   A,
 
)    P00_IF_CLAUSE(P99_PASTE4(P00_IS_,A,_EQ_,B)())

Test two words A and B if they are equal.

A and B must be just one word, i.e composed of alpha-numerical characters and underscores.

For such a test to work properly a corresponding macro P00_IS_A_EQ_A must exist for all A such that B may be the same word as A. E.g for the test

 P99_IF_EQ(0, X)(expand_when_equal)(expand_when_unequal)

the macro ::P00_IF_0_EQ_0 must exist. (Which it does in that case).

Definition at line 83 of file p99_if.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines