]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/preprocessor/doc/ref/tuple_push_back.html
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / preprocessor / doc / ref / tuple_push_back.html
1 <html>
2 <head>
3 <meta content="text/html; charset=windows-1252" http-equiv="content-type">
4 <title>BOOST_PP_TUPLE_PUSH_BACK</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_PUSH_BACK</b> macro
9 appends an element to the end of a <i>tuple</i>.</div>
10 <h4>Usage</h4>
11 <div class="code"> <b>BOOST_PP_TUPLE_PUSH_BACK</b>(<i>tuple</i>, <i>elem</i>)
12 <a href="../topics/variadic_macros.html#VNotation"><sup>(v)</sup></a></div>
13 <h4>Arguments</h4>
14 <dl>
15 <dt>tuple</dt>
16 <dd> The <i>tuple</i> to append an element to.</dd>
17 <dt>elem</dt>
18 <dd> The element to append. </dd>
19 </dl>
20 <h4>Requirements</h4>
21 <div> <b>Header:</b> &nbsp;<a href="../headers/tuple/push_back.html">&lt;boost/preprocessor/tuple/push_back.hpp&gt;</a>
22 </div>
23 <h4>Sample Code</h4>
24 <div>
25 <pre>#include &lt;<a href="../headers/tuple/push_back.html">boost/preprocessor/tuple/push_back.hpp</a>&gt;
26
27 #define TUPLE (a, b, c)
28
29 <a href="tuple_push_back.html">BOOST_PP_TUPLE_PUSH_BACK</a>(TUPLE, d) // expands to (a, b, c, d)
30 </pre></div>
31 <hr size="1">
32 <div style="margin-left: 0px;"> <i>© Copyright Edward Diener 2013</i> </div>
33 <div style="margin-left: 0px;">
34 <p><small>Distributed under the Boost Software License, Version 1.0. (See
35 accompanyig file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
36 or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
37 </div>
38 </body>
39 </html>