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. 21 Valid <i>tuple</i> sizes range from <i>1</i> to <b>BOOST_PP_LIMIT_TUPLE</b>. </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> <a href="../headers/tuple/to_seq.html"><boost/preprocessor/tuple/to_seq.hpp></a> 34</div> 35<h4> Sample Code </h4> 36<div> 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> 38</div> 39<hr size="1"> 40<div style="margin-left: 0px;"> <i>� Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i> 41<br> 42<i>� Copyright Paul Mensonides 2002<br> 43</i><i>� Copyright Edward Diener 2011,2013</i><br> 44 </div> 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> 48or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> 49</div> 50 </body> 51</html>