P99

◆ P99_TYPE_CHOICE

#define P99_TYPE_CHOICE (   EXP,
  YES,
  NO,
  ... 
)

Classify expression EXP according to its type and return YES if the type is in the list and NO, otherwise.

EXP is evaluated only at compile time for its type. YES and NO are evaluated at most once.

Definition at line 799 of file p99_generic.h.