1<html> 2 <head> 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"> 6 </head> 7 <body> 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> 10 <h4>Usage</h4> 11 <div class="code"> <b>BOOST_PP_ARRAY_TO_LIST</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 <ul> 18 </ul> 19 <h4>Remarks</h4> 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> 23 <h4>Requirements</h4> 24 <div> <b>Header:</b> <a href="../headers/array/to_list.html"><boost/preprocessor/array/to_list.hpp></a> 25 </div> 26 <h4>Sample Code</h4> 27 <div> 28 <pre>#include <<a href="../headers/array/to_list.html">boost/preprocessor/array/to_list.hpp</a>><br><br><a 29href="array_to_list.html">BOOST_PP_ARRAY_TO_LIST</a>((3, (x, y, z)))<br> // expands to (x, (y, (z, <a 30href="nil.html">BOOST_PP_NIL</a>)))</pre> 31 </div> 32 <hr size="1"> 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> 38 </div> 39 s 40 </body> 41</html> 42