3 <meta content=
"text/html; charset=windows-1252" http-equiv=
"content-type">
4 <title>BOOST_PP_ARRAY_TO_LIST
</title>
5 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
8 <div style=
"margin-left: 0px;"> The
<b>BOOST_PP_ARRAY_TO_LIST
</b> macro
9 converts an
<i>array
</i> to a
<i>list
</i>.
</div>
11 <div class=
"code"> <b>BOOST_PP_ARRAY_TO_LIST
</b>(
<i>array
</i>)
</div>
15 <dd> The
<i>array
</i> to be converted.
</dd>
20 <p> If the
<i>array
</i> to be converted is empty, as
21 represented by '(
0, () )', the resulting
<i>list
</i> is empty, as
22 represented by 'BOOST_PP_NIL'.
</p>
24 <div> <b>Header:
</b> <a href=
"../headers/array/to_list.html"><boost/preprocessor/array/to_list.hpp
></a>
28 <pre>#include
<<a href=
"../headers/array/to_list.html">boost/preprocessor/array/to_list.hpp
</a>><br><br><a
29 href=
"array_to_list.html">BOOST_PP_ARRAY_TO_LIST
</a>((
3, (x, y, z)))
<br> // expands to (x, (y, (z,
<a
30 href=
"nil.html">BOOST_PP_NIL
</a>)))
</pre>
33 <div style=
"margin-left: 0px;"> <i>© Copyright Edward Diener
2011</i> </div>
34 <div style=
"margin-left: 0px;">
35 <p><small>Distributed under the Boost Software License, Version
1.0. (See
36 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a>
37 or copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>