seq_pop_back.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <html>
  2. <head>
  3. <title>BOOST_PP_SEQ_POP_BACK</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_POP_BACK</b> macro pops an element from the end of a <i>seq</i>.
  9. </div>
  10. <h4>
  11. Usage
  12. </h4>
  13. <div class="code">
  14. <b>BOOST_PP_SEQ_POP_BACK</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> to pop an element from.
  23. </dd>
  24. </dl>
  25. <h4>
  26. Remarks
  27. </h4>
  28. <div>
  29. This macro returns <i>seq</i> after removing the last element.&nbsp;
  30. </div>
  31. <h4>
  32. See Also
  33. </h4>
  34. <ul>
  35. <li>
  36. <a href="seq_pop_front.html">BOOST_PP_SEQ_POP_FRONT</a></li>
  37. </ul>
  38. <h4>
  39. Requirements
  40. </h4>
  41. <div>
  42. <b>Header:</b> &nbsp;<a href="../headers/seq/pop_back.html">&lt;boost/preprocessor/seq/pop_back.hpp&gt;</a>
  43. </div>
  44. <h4>
  45. Sample Code
  46. </h4>
  47. <div>
  48. <pre>
  49. #include &lt;<a href="../headers/seq/pop_back.html">boost/preprocessor/seq/pop_back.hpp</a>&gt;
  50. #define SEQ (a)(b)(c)
  51. <a href="seq_pop_back.html">BOOST_PP_SEQ_POP_BACK</a>(SEQ) // expands to (a)(b)
  52. </pre>
  53. </div>
  54. <hr size="1">
  55. <div style="margin-left: 0px;">
  56. <i>© Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i>
  57. </br><i>© Copyright Paul Mensonides 2002</i>
  58. </div>
  59. <div style="margin-left: 0px;">
  60. <p><small>Distributed under the Boost Software License, Version 1.0. (See
  61. accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
  62. copy at <a href=
  63. "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
  64. </div>
  65. </body>
  66. </html>