]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <html> |
2 | <head> | |
3 | <meta content="text/html; charset=windows-1252" http-equiv="content-type"> | |
4 | <title>BOOST_PP_ARRAY_TO_SEQ</title> | |
5 | <link rel="stylesheet" type="text/css" href="../styles.css"> | |
6 | </head> | |
7 | <body> | |
8 | <div style="margin-left: 0px;"> The <b>BOOST_PP_ARRAY_TO_SEQ</b> macro | |
9 | converts an <i>array</i> to a <i>seq</i>. </div> | |
10 | <h4> Usage </h4> | |
11 | <div class="code"> <b>BOOST_PP_ARRAY_TO_SEQ</b>(<i>array</i>) </div> | |
12 | <h4> Arguments </h4> | |
13 | <dl> | |
14 | <dt>array</dt> | |
15 | <dd> The <i>array</i> to be converted.</dd> | |
16 | </dl> | |
17 | <h4>Remarks</h4> | |
18 | <p> If the <i>array</i> to be converted is empty, as | |
19 | represented by '( 0, () )', the resulting <i>seq</i> is undefined since a | |
20 | <i>seq</i> cannot be empty.</p> | |
21 | <h4>Requirements </h4> | |
22 | <div> <b>Header:</b> <a href="../headers/array/to_seq.html"><boost/preprocessor/array/to_seq.hpp></a> | |
23 | </div> | |
24 | <h4> Sample Code </h4> | |
25 | <div> | |
26 | <pre>#include <<a href="../headers/array/to_seq.html">boost/preprocessor/array/to_seq.hpp</a>><br><br><a | |
27 | href="array_to_seq.html">BOOST_PP_ARRAY_TO_SEQ</a>((3, (a, b, c))) // expands to (a)(b)(c)</pre> | |
28 | </div> | |
29 | <hr size="1"> | |
30 |