mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-16 14:02:17 +02:00
Documentation in progress
[SVN r12585]
This commit is contained in:
@ -21,7 +21,20 @@
|
|||||||
#include <boost/preprocessor/list/adt.hpp>
|
#include <boost/preprocessor/list/adt.hpp>
|
||||||
#include <boost/preprocessor/for.hpp>
|
#include <boost/preprocessor/for.hpp>
|
||||||
|
|
||||||
/** THIS PRIMITIVE IS NOT DOCUMENTED YET - DO NOT USE! */
|
/** THIS IS NOT YET FULLY DOCUMENTED - DO NOT USE!
|
||||||
|
|
||||||
|
Repeats F(R,P,X) for each element X of the cartesian product of the lists LL.
|
||||||
|
|
||||||
|
This macro is useful for generating code to avoid combinatorial explosion.
|
||||||
|
|
||||||
|
<B>LL</B> is a list of lists.
|
||||||
|
|
||||||
|
<B>X</B> is an element of the cartesian product of the lists LL.
|
||||||
|
|
||||||
|
<H3>Examples</H3>
|
||||||
|
- <a href="../../example/is_integral.cpp">is_integral.cpp</a>
|
||||||
|
- <a href="../../example/array_arithmetic.c">array_arithmetic.c</a>
|
||||||
|
*/
|
||||||
#define BOOST_PP_LIST_FOR_EACH_PRODUCT(F,P,LL) BOOST_PP_LIST_FOR_EACH_PRODUCT_R(0,F,P,LL)
|
#define BOOST_PP_LIST_FOR_EACH_PRODUCT(F,P,LL) BOOST_PP_LIST_FOR_EACH_PRODUCT_R(0,F,P,LL)
|
||||||
|
|
||||||
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
||||||
|
Reference in New Issue
Block a user