3 <meta content=
"text/html; charset=windows-1252" http-equiv=
"content-type">
4 <title>BOOST_PP_TUPLE_REPLACE_D
</title>
5 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
8 <div style=
"margin-left: 0px;"> The
<b>BOOST_PP_TUPLE_REPLACE_D
</b> macro
9 replaces an element in a
<i>tuple
</i>.
It reenters
<b>BOOST_PP_WHILE
</b>
10 with maximum efficiency.
</div>
12 <div class=
"code"> <b>BOOST_PP_TUPLE_REPLACE_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> A
<i>tuple
</i> to replace an element in.
</dd>
21 <dd> The zero-based position in
<i>tuple
</i> of the element to be
22 replaced.
Valid values range from
<i>0</i> to
<b>BOOST_PP_TUPLE_SIZE
</b>(
<i>tuple
</i>)
25 <dd> The replacement element.
</dd>
29 <li><a href=
"tuple_replace.html">BOOST_PP_TUPLE_REPLACE
</a></li>
32 <div> <b>Header:
</b> <a href=
"../headers/tuple/replace.html"><boost/preprocessor/tuple/replace.hpp
></a>
35 <div style=
"margin-left: 0px;"> <i>© Copyright Edward Diener
2013</i> </div>
36 <div style=
"margin-left: 0px;">
37 <p><small>Distributed under the Boost Software License, Version
1.0. (See
38 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a>
39 or copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>