3 <title>BOOST_PP_TUPLE_TO_SEQ
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;"> The
<b>BOOST_PP_TUPLE_TO_SEQ
</b> macro
8 converts a
<i>tuple
</i> to an
<i>seq
</i>.
</div>
10 <div class=
"code"> <b>BOOST_PP_TUPLE_TO_SEQ
</b>(
<i>size
</i>,
<i>tuple
</i>)
<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>
20 The size of the
<i>tuple
</i> to be converted.
21 Valid
<i>tuple
</i> sizes range from
<i>1</i> to
<b>BOOST_PP_LIMIT_TUPLE
</b>.
</dd>
23 <dd> The
<i>tuple
</i> to be converted.
</dd>
26 <div> The
<i>size
</i> argument must be the actual size of the
<i>tuple
</i>.
<br>
29 invoke 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
30 BOOST_PP_TUPLE_TO_SEQ(
<i>size
</i>,
<i>tuple
</i>).
<a href=
"../headers/tuple/to_seq.html"></a>
32 <h4>Requirements
</h4>
33 <div> <b>Header:
</b> <a href=
"../headers/tuple/to_seq.html"><boost/preprocessor/tuple/to_seq.hpp
></a>
35 <h4> Sample Code
</h4>
37 <pre>#include
<<a href=
"../headers/tuple/to_seq.html">boost/preprocessor/tuple/to_seq.hpp
</a>><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>
40 <div style=
"margin-left: 0px;"> <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
42 <i>© Copyright Paul Mensonides
2002<br>
43 </i><i>© Copyright Edward Diener
2011,
2013</i><br>
45 <div style=
"margin-left: 0px;">
46 <p><small>Distributed under the Boost Software License, Version
1.0.
47 (See accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a>
48 or copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>