seq_size.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <html>
  2. <head>
  3. <title>BOOST_PP_SEQ_SIZE</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_SIZE</b> macro expands to the size of a <i>seq</i>.
  9. </div>
  10. <h4>
  11. Usage
  12. </h4>
  13. <div class="code">
  14. <b>BOOST_PP_SEQ_SIZE</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 size is to be calculated.
  23. </dd>
  24. </dl>
  25. <h4>
  26. Requirements
  27. </h4>
  28. <div>
  29. <b>Header:</b> &nbsp;<a href="../headers/seq/size.html">&lt;boost/preprocessor/seq/size.hpp&gt;</a>
  30. </div>
  31. <h4>
  32. Sample Code
  33. </h4>
  34. <div>
  35. <pre>
  36. #include &lt;<a href="../headers/seq/size.html">boost/preprocessor/seq/size.hpp</a>&gt;
  37. #define SEQ (a)(b)(c)
  38. <a href="seq_size.html">BOOST_PP_SEQ_SIZE</a>(SEQ) // expands to 3
  39. </pre>
  40. </div>
  41. <hr size="1">
  42. <div style="margin-left: 0px;">
  43. <i>© Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i>
  44. </br><i>© Copyright Paul Mensonides 2002</i>
  45. </div>
  46. <div style="margin-left: 0px;">
  47. <p><small>Distributed under the Boost Software License, Version 1.0. (See
  48. accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
  49. copy at <a href=
  50. "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
  51. </div>
  52. </body>
  53. </html>