BOOST_PP_SEQ_FOR_EACH_PRODUCT_R

The BOOST_PP_SEQ_FOR_EACH_PRODUCT_R macro repeats a macro for each cartesian product of several seqs. It reenters BOOST_PP_FOR with maximum efficiency.

#### Usage

BOOST_PP_SEQ_FOR_EACH_PRODUCT_R(r, macro, seqs)

#### Arguments

r
  The next available BOOST_PP_FOR repetition.
macro
  The binary macro of the form macro(r, product). This macro is expanded by BOOST_PP_FOR_EACH_PRODUCT with each cartesian product in seqs. It is expanded with the next available BOOST_PP_FOR repetition and a seq containing a cartesian product.
seqs
  A seq of seqs from which cartesian products are obtained.

#### Remarks

This macro is a repetition construct. If two seqs are (a)(b)(c) and (x)(y)(z), this macro will produce the following sequence:
macro(r, (a)(x)) macro(r, (a)(y)) macro(r, (a)(z)) \
macro(r, (b)(x)) macro(r, (b)(y)) macro(r, (b)(z)) \
macro(r, (c)(x)) macro(r, (c)(y)) macro(r, (c)(z))

#### See Also

- BOOST_PP_SEQ_FOR_EACH_PRODUCT

#### Requirements

Header: <boost/preprocessor/seq/for_each_product.hpp>