seq_to_list.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <html>
  2. <head>
  3. <title>BOOST_PP_SEQ_TO_LIST</title>
  4. <link rel="stylesheet" type="text/css" href="../styles.css">
  5. </head>
  6. <body>
  7. <div style="margin-left: 0px;"> The <b>BOOST_PP_SEQ_TO_LIST</b>
  8. macro converts a <i>seq</i> to a <i>list</i>. </div>
  9. <h4>Usage</h4>
  10. <div class="code"> <b>BOOST_PP_SEQ_TO_LIST</b>(<i>seq</i>)
  11. </div>
  12. <h4>Arguments</h4>
  13. <dl><dt>seq</dt>
  14. <dd> The <i>seq</i> to be converted. </dd>
  15. </dl><b>See Also</b>
  16. <ul>
  17. <li><a href="limit_seq.html">BOOST_PP_LIMIT_SEQ</a></li>
  18. </ul>
  19. <h4>Requirements</h4>
  20. <div> <b>Header:</b> &nbsp;<a href="../headers/seq/to_list.html">&lt;boost/preprocessor/seq/to_list.hpp&gt;</a>
  21. </div>
  22. <h4>Sample Code</h4>
  23. <div>
  24. <pre>#include &lt;<a href="../headers/seq/to_list.html">boost/preprocessor/seq/to_list.hpp</a>&gt;<br><br><a href="seq_to_list.html">BOOST_PP_SEQ_TO_LIST</a>((x)(y)(z))<br> // expands to (x, (y, (z, <a href="nil.html">BOOST_PP_NIL</a>)))<br></pre>
  25. </div>
  26. <hr size="1">
  27. <div style="margin-left: 0px;"> <i>© Copyright Edward Diener 2011</i> </div>
  28. <div style="margin-left: 0px;">
  29. <p><small>Distributed under the Boost Software License, Version 1.0.
  30. (See accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
  31. or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
  32. </div>
  33. </body>
  34. </html>