• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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>&nbsp;&nbsp;&nbsp; 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> &nbsp;<a href="../headers/array/to_seq.html">&lt;boost/preprocessor/array/to_seq.hpp&gt;</a>
23    </div>
24    <h4> Sample Code </h4>
25    <div>
26      <pre>#include &lt;<a href="../headers/array/to_seq.html">boost/preprocessor/array/to_seq.hpp</a>&gt;<br><br><a
27href="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    <div style="margin-left: 0px;"> <i>� Copyright Edward Diener 2011</i> </div>
31    <div style="margin-left: 0px;">
32      <p><small>Distributed under the Boost Software License, Version 1.0. (See
33          accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
34          or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
35    </div>
36  </body>
37</html>
38