seq_cat.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <html>
  2. <head>
  3. <title>BOOST_PP_SEQ_CAT</title>
  4. <link rel="stylesheet" type="text/css" href="../styles.css">
  5. </head>
  6. <body>
  7. <div style="margin-left: 0px;">
  8. The <b>BOOST_PP_SEQ_CAT</b> macro concatenates all elements in a <i>seq</i>.
  9. </div>
  10. <h4>
  11. Usage
  12. </h4>
  13. <div class="code">
  14. <b>BOOST_PP_SEQ_CAT</b>(<i>seq</i>)
  15. </div>
  16. <h4>
  17. Arguments
  18. </h4>
  19. <dl>
  20. <dt>seq</dt>
  21. <dd>
  22. The <i>seq</i> whose elements are to be concatenated.
  23. </dd>
  24. </dl>
  25. <h4>
  26. Remarks
  27. </h4>
  28. <div>
  29. Elements are concatenated left-to-right starting with index <i>0</i>.
  30. </div>
  31. <div>
  32. For maximum efficiency, use <b>BOOST_PP_SEQ_CAT_S</b>.
  33. </div>
  34. <h4>
  35. See Also
  36. </h4>
  37. <ul>
  38. <li>
  39. <a href="seq_cat_s.html">BOOST_PP_SEQ_CAT_S</a></li>
  40. </ul>
  41. <h4>
  42. Requirements
  43. </h4>
  44. <div>
  45. <b>Header:</b> &nbsp;<a href="../headers/seq/cat.html">&lt;boost/preprocessor/seq/cat.hpp&gt;</a>
  46. </div>
  47. <h4>
  48. Sample Code
  49. </h4>
  50. <div>
  51. <pre>#include &lt;<a href="../headers/seq/cat.html">boost/preprocessor/seq/cat.hpp</a>&gt;<br><br>#define SEQ (a)(b)(c)<br><br><a href="seq_cat.html">BOOST_PP_SEQ_CAT</a>(SEQ) // expands to abc<br></pre>
  52. </div>
  53. <hr size="1">
  54. <div style="margin-left: 0px;">
  55. <i>© Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i>
  56. <br><i>© Copyright Paul Mensonides 2002</i>
  57. </div>
  58. <div style="margin-left: 0px;">
  59. <p><small>Distributed under the Boost Software License, Version 1.0. (See
  60. accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
  61. copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
  62. </div>
  63. </body>
  64. </html>