P99
#define P99_ARE_EQ (   FIRST,
  ... 
)    P99_FOR(== (FIRST), P99_NARG(__VA_ARGS__), P00_AND, P00_ISIT, __VA_ARGS__)

Check if the arguments in the list are all equal.

Use this as follows:

 if (P99_ARE_EQ(a, b, c, d, e, f)) {
   // all are equal, do something special
 } else {
   // handle the base case
 }
Warning:
argument 0 may be evaluated multiple times

Definition at line 366 of file p99_for.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines