The BOOST_PP_SEQ_FOR_EACH macro repeats a macro for each element in a seq.
BOOST_PP_SEQ_FOR_EACH(macro, data, seq)
A ternary macro of the form macro(r, data, elem).
This macro is expanded by BOOST_PP_SEQ_FOR_EACH with each element in seq.
It is expanded with the next available BOOST_PP_FOR repetition, the
auxiliary data, and the current element.
Auxiliary data passed to macro.
The seq for which macro will be invoked on each element.
This macro is a repetition construct. If seq
it expands to the sequence:
macro(r, data, a) macro(r, data,
b) macro(r, data, c)
For maximum efficiency, use BOOST_PP_SEQ_FOR_EACH_R.