]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <html> |
2 | <head> | |
3 | <title>BOOST_PP_ARRAY_REVERSE</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_ARRAY_REVERSE</b> macro reverses the elements in an <i>array</i>. | |
9 | </div> | |
10 | <h4>Usage</h4> | |
11 | <div class="code"> | |
12 | <b>BOOST_PP_ARRAY_REVERSE</b>(<i>array</i>) | |
13 | </div> | |
14 | <h4>Arguments</h4> | |
15 | <dl> | |
16 | <dt>array</dt> | |
17 | <dd> | |
18 | The <i>array</i> whose elements are to be reversed. | |
19 | </dd> | |
20 | </dl> | |
21 | <h4>Requirements</h4> | |
22 | <div> | |
23 | <b>Header:</b> <a href="../headers/array/reverse.html"><boost/preprocessor/array/reverse.hpp></a> | |
24 | </div> | |
25 | <h4>Sample Code</h4> | |
26 | <div><pre> | |
27 | #include <<a href="../headers/array/reverse.html">boost/preprocessor/array/reverse.hpp</a>> | |
28 | ||
29 | #define ARRAY (3, (a, b, c)) | |
30 | ||
31 | <a href="array_reverse.html">BOOST_PP_ARRAY_REVERSE</a>(ARRAY) // expands to (3, (c, b, a)) | |
32 | </pre></div> | |
33 | <hr size="1"> | |
34 | <div style="margin-left: 0px;"> | |
35 |