]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/preprocessor/doc/ref/array_replace_d.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / preprocessor / doc / ref / array_replace_d.html
CommitLineData
7c673cae
FG
1<html>
2<head>
3 <title>BOOST_PP_ARRAY_REPLACE_D</title>
4 <link rel="stylesheet" type="text/css" href="../styles.css">
5</head>
6<body>
7 <div style="margin-left: 0px;">
8 The <b>BOOST_PP_ARRAY_REPLACE_D</b> macro replaces an element in an <i>array</i>.&nbsp;
9 It reenters <b>BOOST_PP_WHILE</b> with maximum efficiency.
10 </div>
11 <h4>Usage</h4>
12 <div class="code">
13 <b>BOOST_PP_ARRAY_REPLACE_D</b>(<i>d</i>, <i>array</i>, <i>i</i>, <i>elem</i>)
14 </div>
15 <h4>Arguments</h4>
16 <dl>
17 <dt>d</dt>
18 <dd>
19 The next available <b>BOOST_PP_WHILE</b> iteration.
20 </dd>
21 <dt>array</dt>
22 <dd>
23 An <i>array</i> to replace an element in.
24 </dd>
25 <dt>i</dt>
26 <dd>
27 The zero-based position in <i>array</i> of the element to be replaced.&nbsp;
28 Valid values range from <i>0</i> to <b>BOOST_PP_ARRAY_SIZE</b>(<i>array</i>) - <i>1</i>.
29 </dd>
30 <dt>elem</dt>
31 <dd>
32 The replacement element.
33 </dd>
34 </dl>
35 <h4>See Also</h4>
36 <ul>
37 <li><a href="array_replace.html">BOOST_PP_ARRAY_REPLACE</a></li>
38 </ul>
39 <h4>Requirements</h4>
40 <div>
41 <b>Header:</b> &nbsp;<a href="../headers/array/replace.html">&lt;boost/preprocessor/array/replace.hpp&gt;</a>
42 </div>
43 <hr size="1">
44 <div style="margin-left: 0px;">
45