P99

◆ P99_TOK_EQ

#define P99_TOK_EQ (   TOK,
  ... 
)    P00_TOK_EQ_(P99_PASTE3(P00_IS_, TOK, _EQ_), __VA_ARGS__)

Detect if two tokens are equal.

The tokens must be alphanumeric, composed of [_a-zA-Z0-9]. To be able to test for equality of token X the macro P00_IS_X_EQ_X(...) must be defined to expand to a comma.

For a list of predefined tokens for which this is implemented see Preprocessor text and token manipulation

Definition at line 142 of file p99_args.h.