3 <title>BOOST_PP_ARRAY_INSERT_D
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_ARRAY_INSERT_D
</b> macro inserts an element into an
<i>array
</i>.
9 It reenters
<b>BOOST_PP_WHILE
</b> with maximum efficiency.
13 <b>BOOST_PP_ARRAY_INSERT_D
</b>(
<i>d
</i>,
<i>array
</i>,
<i>i
</i>,
<i>elem
</i>)
19 The next available
<b>BOOST_PP_WHILE
</b> iteration.
23 The
<i>array
</i> into which an element is to be inserted.
27 The zero-based position in
<i>array
</i> where an element is to be inserted.
28 Valid values range from
<i>0</i> to
<b>BOOST_PP_ARRAY_SIZE
</b>(
<i>array
</i>).
32 The element to insert.
37 This macro inserts
<i>elem
</i> before the element at index
<i>i
</i>.
40 If the operation attempts to create an
<i>array
</i> that is larger than
<b>BOOST_PP_LIMIT_TUPLE
</b>,
41 the result is undefined.
45 <li><a href=
"array_insert.html">BOOST_PP_ARRAY_INSERT
</a></li>
49 <b>Header:
</b> <a href=
"../headers/array/insert.html"><boost/preprocessor/array/insert.hpp
></a>
52 <div style=
"margin-left: 0px;">
53 <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
54 </br><i>© Copyright Paul Mensonides
2002</i>
56 <div style=
"margin-left: 0px;">
57 <p><small>Distributed under the Boost Software License, Version
1.0. (See
58 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
60 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>