The BOOST_PP_SEQ_TRANSFORM_S macro transforms each element in a seq
according to a supplied transformation. It reenters BOOST_PP_SEQ_FOLD_LEFT
with maximum efficiency.
Usage
BOOST_PP_SEQ_TRANSFORM_S(s, op, data, seq)
Arguments
s
The next available BOOST_PP_SEQ_FOLD_LEFT fold step.
op
A ternary predicate of the form op(s, data, elem).
This transformation is expanded by BOOST_PP_SEQ_TRANSFORM for each
element in seq with the next available BOOST_PP_SEQ_FOLD_LEFT fold
step, the auxiliary data, and the current element in seq.
data
Auxiliary data passed to pred.
seq
The seq to be transformed.
Remarks
This macro expands op for each element in seq. It builds a
new seq out of the results of each call. If, for example, seq
is (a)(b)(c), this macro expands to...