]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/preprocessor/doc/ref/tuple_push_front.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / preprocessor / doc / ref / tuple_push_front.html
CommitLineData
7c673cae
FG
1<html>
2 <head>
3 <meta content="text/html; charset=windows-1252" http-equiv="content-type">
4 <title>BOOST_PP_TUPLE_PUSH_FRONT</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_FRONT</b> macro
9 appends an element to the beginning of a <i>tuple</i>.</div>
10 <h4>Usage</h4>
11 <div class="code"> <b>BOOST_PP_TUPLE_PUSH_FRONT</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_front.html">&lt;boost/preprocessor/tuple/push_front.hpp&gt;</a>
22 </div>
23 <h4>Sample Code</h4>
24 <div>
25 <pre>#include &lt;<a href="../headers/tuple/push_front.html">boost/preprocessor/tuple/push_front.hpp</a>&gt;
26
27#define TUPLE (b, c, d)
28
29<a href="tuple_push_front.html">BOOST_PP_TUPLE_PUSH_FRONT</a>(TUPLE, a) // expands to (a, b, c, d)
30</pre></div>
31 <hr size="1">
32