array_remove_d.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <html>
  2. <head>
  3. <title>BOOST_PP_ARRAY_REMOVE_D</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_ARRAY_REMOVE_D</b> macro removes an element from an <i>array</i>.&nbsp;
  9. It reenters <b>BOOST_PP_WHILE</b> with maximum efficiency.
  10. </div>
  11. <h4>Usage</h4>
  12. <div class="code">
  13. <b>BOOST_PP_ARRAY_REMOVE_D</b>(<i>d</i>, <i>array</i>, <i>i</i>)
  14. </div>
  15. <h4>Arguments</h4>
  16. <dl>
  17. <dt>d</dt>
  18. <dd>
  19. The next available <b>BOOST_PP_WHILE</b> iteration.
  20. </dd>
  21. <dt>array</dt>
  22. <dd>
  23. The <i>array</i> from which an element is to be removed.
  24. </dd>
  25. <dt>i</dt>
  26. <dd>
  27. The zero-based position in <i>array</i> of the element to be removed.&nbsp;
  28. Valid values range from <i>0</i> to <b>BOOST_PP_ARRAY_SIZE</b>(<i>array</i>) - <i>1</i>.
  29. </dd>
  30. </dl>
  31. <h4>See Also</h4>
  32. <ul>
  33. <li><a href="array_remove.html">BOOST_PP_ARRAY_REMOVE</a></li>
  34. </ul>
  35. <h4>Requirements</h4>
  36. <div>
  37. <b>Header:</b> &nbsp;<a href="../headers/array/remove.html">&lt;boost/preprocessor/array/remove.hpp&gt;</a>
  38. </div>
  39. <hr size="1">
  40. <div style="margin-left: 0px;">
  41. <i>© Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i>
  42. </br><i>© Copyright Paul Mensonides 2002</i>
  43. </div>
  44. <div style="margin-left: 0px;">
  45. <p><small>Distributed under the Boost Software License, Version 1.0. (See
  46. accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
  47. copy at <a href=
  48. "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
  49. </div>
  50. </body>
  51. </html>