3 <meta content="text/html; charset=windows-1252" http-equiv="content-type">
4 <title>BOOST_PP_TUPLE_INSERT_D</title>
5 <link rel="stylesheet" type="text/css" href="../styles.css">
8 <div style="margin-left: 0px;"> The <b>BOOST_PP_TUPLE_INSERT_D</b> macro
9 inserts an element into a <i>tuple</i>. It reenters <b>BOOST_PP_WHILE</b>
10 with maximum efficiency.</div>
12 <div class="code"> <b>BOOST_PP_TUPLE_INSERT_D</b>(<i>d</i>, <i>tuple</i>,
13 <i>i</i>, <i>elem</i>) <a href="../topics/variadic_macros.html#VNotation"><sup>(v)</sup></a></div>
17 <dd> The next available <b>BOOST_PP_WHILE</b> iteration. </dd>
19 <dd> The <i>tuple</i> into which an element is to be inserted.</dd>
21 <dd> The zero-based position in <i>tuple</i> where an element is to be
22 inserted. Valid values range from <i>0</i> to <b>BOOST_PP_TUPLE_SIZE</b>(<i>tuple</i>).</dd>
24 <dd> The element to insert. </dd>
27 <div> This macro inserts <i>elem</i> before the element at index <i>i</i>.
29 <div> If the operation attempts to create an <i>tuple</i> that is larger
30 than <b>BOOST_PP_LIMIT_TUPLE</b>, the result is undefined.</div>
33 <li><a href="tuple_insert.html">BOOST_PP_TUPLE_INSERT</a></li>
36 <div> <b>Header:</b> <a href="../headers/tuple/insert.html"><boost/preprocessor/tuple/insert.hpp></a>
39 <div style="margin-left: 0px;"> <i>© Copyright Edward Diener 2013</i> </div>
40 <div style="margin-left: 0px;">
41 <p><small>Distributed under the Boost Software License, Version 1.0. (See
42 accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
43 or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>