P99

◆ P99_SEA

#define P99_SEA (   MACRO,
  ... 
)    P00_MAP_(P99_NARG(__VA_ARGS__), MACRO, (+), __VA_ARGS__)

Apply the macro MACRO to the rest of the argument list.

The macro is called with each of the other arguments and the results are joined by a + token.

See also
P99_UNROLL for a similar macro that applies MACRO a fixed number of times
P99_SEQ for a similar macro that separates the different parts with a ,
P99_SER for a similar macro that separates the different parts with a space token
P99_FOR for a more Generic type expressions and Flexible array members utility
Remarks
argument 0 should correspond to a macro name

Definition at line 311 of file p99_for.h.