P99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ P99_IS_INF

#define P99_IS_INF (   FIRST,
  ... 
)    P99_FOR(> (FIRST), P99_NARG(__VA_ARGS__), P00_AND, P00_ISIT, __VA_ARGS__)

Check if argument FIRST is less than or equal to the other elements in the list.

Use this as follows:

if (P99_IS_INF(a, b, c, d, e, f)) {
// a is smallest, do something special
} else {
// handle the base case
}
Warning
argument 0 may be evaluated multiple times

Definition at line 432 of file p99_for.h.

f
f
Definition: p99_str.h:138
P99_IS_INF
#define P99_IS_INF(FIRST,...)
Check if argument FIRST is less than or equal to the other elements in the list.
Definition: p99_for.h:432
d
d
Definition: p99_str.h:138