P99

◆ P99_IF_EQ

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

Test if two words A and B 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 this case).

Definition at line 92 of file p99_if.h.

P99_IF_EQ
#define P99_IF_EQ(A, B)
Test if two words A and B are equal.
Definition: p99_if.h:92