3 <title>BOOST_PP_ARRAY_REPLACE_D
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_ARRAY_REPLACE_D
</b> macro replaces an element in an
<i>array
</i>.
9 It reenters
<b>BOOST_PP_WHILE
</b> with maximum efficiency.
13 <b>BOOST_PP_ARRAY_REPLACE_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 An
<i>array
</i> to replace an element in.
27 The zero-based position in
<i>array
</i> of the element to be replaced.
28 Valid values range from
<i>0</i> to
<b>BOOST_PP_ARRAY_SIZE
</b>(
<i>array
</i>) -
<i>1</i>.
32 The replacement element.
37 <li><a href=
"array_replace.html">BOOST_PP_ARRAY_REPLACE
</a></li>
41 <b>Header:
</b> <a href=
"../headers/array/replace.html"><boost/preprocessor/array/replace.hpp
></a>
44 <div style=
"margin-left: 0px;">
45 <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
46 </br><i>© Copyright Paul Mensonides
2002</i>
48 <div style=
"margin-left: 0px;">
49 <p><small>Distributed under the Boost Software License, Version
1.0. (See
50 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
52 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>