]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <html> |
2 | <head> | |
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"> | |
6 | </head> | |
7 | <body> | |
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> | |
11 | <h4>Usage</h4> | |
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> | |
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> A <i>tuple</i> to replace an element in. </dd> | |
20 | <dt>i</dt> | |
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>) | |
23 | - <i>1</i>. </dd> | |
24 | <dt>elem</dt> | |
25 | <dd> The replacement element. </dd> | |
26 | </dl> | |
27 | <h4>See Also</h4> | |
28 | <ul> | |
29 | <li><a href="tuple_replace.html">BOOST_PP_TUPLE_REPLACE</a></li> | |
30 | </ul> | |
31 | <h4>Requirements</h4> | |
32 | <div> <b>Header:</b> <a href="../headers/tuple/replace.html"><boost/preprocessor/tuple/replace.hpp></a> | |
33 | </div> | |
34 | <hr size="1"> | |
35 |