tuple_remove_d.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <html>
  2. <head>
  3. <meta content="text/html; charset=windows-1252" http-equiv="content-type">
  4. <title>BOOST_PP_TUPLE_REMOVE_D</title>
  5. <link rel="stylesheet" type="text/css" href="../styles.css">
  6. </head>
  7. <body>
  8. <div style="margin-left: 0px;"> The <b>BOOST_PP_TUPLE_REMOVE_D</b> macro
  9. removes an element from a <i>tuple</i>.&nbsp; It reenters <b>BOOST_PP_WHILE</b>
  10. with maximum efficiency. </div>
  11. <h4>Usage</h4>
  12. <div class="code"> <b>BOOST_PP_TUPLE_REMOVE_D</b>(<i>d</i>, <i>tuple</i>,
  13. <i>i</i>) <a href="../topics/variadic_macros.html#VNotation"><sup>(v)</sup></a></div>
  14. <h4>Arguments</h4>
  15. <dl>
  16. <dt>d</dt>
  17. <dd> The next available <b>BOOST_PP_WHILE</b> iteration. </dd>
  18. <dt>tuple</dt>
  19. <dd> The <i>tuple</i> from which an element is to be removed. </dd>
  20. <dt>i</dt>
  21. <dd> The zero-based position in <i>tuple</i> of the element to be
  22. removed.&nbsp; Valid values range from <i>0</i> to <b>BOOST_PP_TUPLE_SIZE</b>(<i>tuple</i>)
  23. - <i>1</i>. If <i>tuple</i> has only a single element, it remains
  24. unchanged since a&nbsp;<i>tuple </i>must have at least one element.</dd>
  25. </dl>
  26. <h4>See Also</h4>
  27. <ul>
  28. <li><a href="tuple_remove.html">BOOST_PP_TUPLE_REMOVE</a></li>
  29. </ul>
  30. <h4>Requirements</h4>
  31. <div> <b>Header:</b> &nbsp;<a href="../headers/tuple/remove.html">&lt;boost/preprocessor/tuple/remove.hpp&gt;</a>
  32. </div>
  33. <hr size="1">
  34. <div style="margin-left: 0px;"> <i>© Copyright Edward Diener 2013</i> </div>
  35. <div style="margin-left: 0px;">
  36. <p><small>Distributed under the Boost Software License, Version 1.0. (See
  37. accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
  38. or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
  39. </div>
  40. </body>
  41. </html>