Line | |
---|
1 | <html> |
---|
2 | <head> |
---|
3 | <title>BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z</title> |
---|
4 | <link rel="stylesheet" type="text/css" href="../styles.css"> |
---|
5 | </head> |
---|
6 | <body> |
---|
7 | <div style="margin-left: 0px;"> |
---|
8 | The <b>BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z</b> macro generates a comma-separated list of binary parameters with a leading comma. |
---|
9 | It reenters <b>BOOST_PP_REPEAT</b> with maximum efficiency. |
---|
10 | </div> |
---|
11 | <h4>Usage</h4> |
---|
12 | <div class="code"> |
---|
13 | <b>BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z</b>(<i>z</i>, <i>count</i>, <i>p1</i>, <i>p2</i>) |
---|
14 | </div> |
---|
15 | <h4>Arguments</h4> |
---|
16 | <dl> |
---|
17 | <dt>z</dt> |
---|
18 | <dd> |
---|
19 | The next available <b>BOOST_PP_REPEAT</b> dimension. |
---|
20 | </dd> |
---|
21 | <dt>count</dt> |
---|
22 | <dd> |
---|
23 | The number of parameters to generate. |
---|
24 | Valid values range from <i>0</i> to <b>BOOST_PP_LIMIT_REPEAT</b>. |
---|
25 | </dd> |
---|
26 | <dt>p1</dt> |
---|
27 | <dd> |
---|
28 | The text of the first part of the parameter. |
---|
29 | <b>BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z</b> concatenates numbers ranging from <i>0</i> to <i>count</i> - <i>1</i> |
---|
30 | to generate parameters. |
---|
31 | </dd> |
---|
32 | <dt>p2</dt> |
---|
33 | <dd> |
---|
34 | The text of the first part of the parameter. |
---|
35 | <b>BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z</b> concatenates numbers ranging from <i>0</i> to <i>count</i> - <i>1</i> |
---|
36 | to generate parameters. |
---|
37 | </dd> |
---|
38 | </dl> |
---|
39 | <h4>Remarks</h4> |
---|
40 | <div> |
---|
41 | This macro expands to the comma-separated sequence: |
---|
42 | <div> |
---|
43 | , <i>p1</i> ## <i>0</i> <i>p2</i> ## <i>0</i>, <i>p1</i> ## <i>1</i> <i>p2</i> ## <i>1</i>, ... <i>p1</i> ## <i>count</i> - <i>1</i> <i>p2</i> ## <i>count</i> - <i>1</i> |
---|
44 | </div> |
---|
45 | </div> |
---|
46 | <h4>See Also</h4> |
---|
47 | <ul> |
---|
48 | <li><a href="etbp.html">BOOST_PP_ENUM_TRAILING_BINARY_PARAMS</a></li> |
---|
49 | <li><a href="limit_repeat.html">BOOST_PP_LIMIT_REPEAT</a></li> |
---|
50 | </ul> |
---|
51 | <h4>Requirements</h4> |
---|
52 | <div> |
---|
53 | <b>Header:</b> <a href="../headers/repetition/etbp.html"><boost/preprocessor/repetition/enum_trailing_binary_params.hpp></a> |
---|
54 | </div> |
---|
55 | </body> |
---|
56 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.