]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/preprocessor/doc/ref/tuple_to_seq.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / preprocessor / doc / ref / tuple_to_seq.html
CommitLineData
7c673cae
FG
1<html>
2 <head>
3 <title>BOOST_PP_TUPLE_TO_SEQ</title>
4 <link rel="stylesheet" type="text/css" href="../styles.css">
5 </head>
6 <body>
7<div style="margin-left: 0px;"> The <b>BOOST_PP_TUPLE_TO_SEQ</b> macro
8converts a <i>tuple</i> to an <i>seq</i>. </div>
9<h4> Usage </h4>
10<div class="code"> <b>BOOST_PP_TUPLE_TO_SEQ</b>(<i>size</i>, <i>tuple</i>)<br>
11<br>
12or<br>
13<br>
14<b>BOOST_PP_TUPLE_TO_SEQ</b>(<i>...</i>) <a href="../topics/variadic_macros.html#VNotation" target="_self"><sup>(v)</sup></a><br>
15</div>
16<h4> Arguments </h4>
17<dl>
18 <dt>size</dt>
19 <dd>
20 The size of the <i>tuple</i> to be converted.&nbsp;
21 Valid <i>tuple</i> sizes range from <i>1</i> to <b>BOOST_PP_LIMIT_TUPLE</b>.&nbsp; </dd>
22 <dt>tuple</dt>
23 <dd> The <i>tuple</i> to be converted. </dd>
24</dl>
25<h4>Remarks</h4>
26<div> The <i>size</i> argument must be the actual size of the <i>tuple</i>.<br>
27<br>
28You can
29invoke the variadic version <a href="../topics/variadic_macros.html#VNotation" target="_self"><sup>(v)</sup></a> as BOOST_PP_TUPLE_TO_SEQ(<i>tuple</i>) or
30BOOST_PP_TUPLE_TO_SEQ(<i>size</i>,<i>tuple</i>).<a href="../headers/tuple/to_seq.html"></a>
31</div>
32<h4>Requirements </h4>
33<div> <b>Header:</b> &nbsp;<a href="../headers/tuple/to_seq.html">&lt;boost/preprocessor/tuple/to_seq.hpp&gt;</a>
34</div>
35<h4> Sample Code </h4>
36<div>
37<pre>#include &lt;<a href="../headers/tuple/to_seq.html">boost/preprocessor/tuple/to_seq.hpp</a>&gt;<br><br><a href="tuple_to_seq.html">BOOST_PP_TUPLE_TO_SEQ</a>(3, (a, b, c)) // expands to (a)(b)(c)<br><br>// or for the variadic version <a href="../topics/variadic_macros.html#VNotation" target="_self"><sup>(v)</sup></a><br><br><a href="tuple_to_seq.html">BOOST_PP_TUPLE_TO_SEQ</a>((a, b, c)) // expands to (a)(b)(c)<br></pre>
38</div>
39<hr size="1">
40