variadic_to_list.html 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <html>
  2. <head>
  3. <title>BOOST_PP_VARIADIC_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_VARIADIC_TO_LIST</b>
  8. variadic macro converts <i>variadic data</i> to a <i>list</i>. </div>
  9. <h4>Usage</h4>
  10. <div class="code"> <b>BOOST_PP_VARIADIC_TO_LIST</b>(<i>...</i>) <a href="../topics/variadic_macros.html#VNotation" target="_self"><sup>(v)</sup></a><br>
  11. </div>
  12. <h4>Arguments</h4>
  13. <dl><dt>...</dt>
  14. <dd> The <i>variadic data</i> to be converted.<br>
  15. </dd>
  16. </dl><h4>Requirements</h4>
  17. <div> <b>Header:</b> &nbsp;<a href="../headers/variadic/to_list.html">&lt;boost/preprocessor/variadic/to_list.hpp&gt;</a>
  18. </div>
  19. <h4>Sample Code</h4>
  20. <div>
  21. <pre>#include &lt;<a href="../headers/variadic/to_list.html">boost/preprocessor/variadic/to_list.hpp</a>&gt;<br><br><a href="variadic_to_list.html">BOOST_PP_VARIADIC_TO_LIST</a>(x, y, z)<br> // expands to (x, (y, (z, <a href="nil.html">BOOST_PP_NIL</a>)))<br></pre>
  22. </div>
  23. <hr size="1">
  24. <div style="margin-left: 0px;"> <i></i><i>© Copyright Edward Diener 2011,2013</i> </div>
  25. <div style="margin-left: 0px;">
  26. <p><small>Distributed under the Boost Software License, Version 1.0.
  27. (See accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
  28. or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
  29. </div>
  30. </body>
  31. </html>