P99

◆ P99_NARG

#define P99_NARG (   ...)    P00_NARG__1(P99_IS_EMPTY(__VA_ARGS__), P00_NARG(__VA_ARGS__))

Return the length of the variable length argument list, where an empty argument list is considered to have 0 arguments.

This supposes that the length of the list is less than P99_MAX_NUMBER.

See also
P00_NARG for a macro in which an empty list is considered to have 1 argument.

Definition at line 112 of file p99_args.h.