]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <html> |
2 | <head> | |
3 | <title>BOOST_PP_ITERATION_LIMITS</title> | |
4 | <link rel="stylesheet" type="text/css" href="../styles.css"> | |
5 | ||
6 | </head> | |
7 | <body> | |
8 | <div style="margin-left: 0px;"> | |
9 | The <b>BOOST_PP_ITERATION_LIMITS</b> macro is a user-defined <i>named external argument</i> used by <b>BOOST_PP_ITERATE</b>. | |
10 | It denotes the lower and upper bounds of a <i>file-iteration</i>. | |
11 | </div> | |
12 | <h4>Usage</h4> | |
13 | <div class="code"> | |
14 | #define <b>BOOST_PP_ITERATION_LIMITS</b> (<i>start</i>, <i>finish</i>) | |
15 | </div> | |
16 | <h4>Arguments</h4> | |
17 | <dl> | |
18 | <dt>start</dt> | |
19 | <dd> | |
20 | The lower bound (inclusive) of a <i>file-iteration</i>. | |
21 | Valid values range from <i>0</i> to <b>BOOST_PP_LIMIT_ITERATION</b>. | |
22 | </dd> | |
23 | <dt>finish</dt> | |
24 | <dd> | |
25 | The upper bound (inclusive) of a <i>file-iteration</i>. | |
26 | Valid values range from <i>0</i> to <b>BOOST_PP_LIMIT_ITERATION</b>. | |
27 | </dd> | |
28 | </dl> | |
29 | <h4>Remarks</h4> | |
30 | <div> | |
31 | Note that there is a whitespace character after the macro identifier. | |
32 | </div> | |
33 | <div> | |
34 | This macro is part of the secondary method of passing arguments to <b>BOOST_PP_ITERATE</b>. | |
35 | The other part is <b>BOOST_PP_FILENAME_<i>x</i></b>. Both <i>start</i> and <i>finish</i> are <i>evaluated parameters</i>. | |
36 | This implies that they may include simple arithmetic. | |
37 | </div> | |
38 | <div> | |
39 | This macro is automatically undefined for reuse by a call to <b>BOOST_PP_ITERATE</b>. | |
40 | </div> | |
41 | <h4>See Also</h4> | |
42 | <ul> | |
43 | <li><a href="filename_x.html">BOOST_PP_FILENAME_<i>x</i></a></li> | |
44 | <li><a href="iterate.html">BOOST_PP_ITERATE</a></li> | |
45 | <li><a href="limit_iteration.html">BOOST_PP_LIMIT_ITERATION</a></li> | |
46 | </ul> | |
47 | <hr size="1"> | |
48 | <div style="margin-left: 0px;"> | |
49 |