2002-10-13 05:47:23 +00:00
|
|
|
<html>
|
2002-11-07 23:39:29 +00:00
|
|
|
<head>
|
|
|
|
<title>BOOST_PP_TUPLE_TO_SEQ</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../styles.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div style="margin-left: 0px;">
|
|
|
|
The <b>BOOST_PP_TUPLE_TO_SEQ</b> macro converts a <i>tuple</i> to an <i>seq</i>.
|
|
|
|
</div>
|
|
|
|
<h4>
|
|
|
|
Usage
|
|
|
|
</h4>
|
2002-10-13 05:47:23 +00:00
|
|
|
<div class="code">
|
2002-11-07 23:39:29 +00:00
|
|
|
<b>BOOST_PP_TUPLE_TO_SEQ</b>(<i>size</i>, <i>tuple</i>)
|
2002-10-13 05:47:23 +00:00
|
|
|
</div>
|
2002-11-07 23:39:29 +00:00
|
|
|
<h4>
|
|
|
|
Arguments
|
|
|
|
</h4>
|
2002-10-13 05:47:23 +00:00
|
|
|
<dl>
|
|
|
|
<dt>size</dt>
|
|
|
|
<dd>
|
|
|
|
The number of elements in <i>tuple</i>.
|
|
|
|
</dd>
|
|
|
|
<dt>tuple</dt>
|
|
|
|
<dd>
|
|
|
|
The <i>tuple</i> to be converted.
|
|
|
|
</dd>
|
|
|
|
</dl>
|
2002-11-07 23:39:29 +00:00
|
|
|
<h4>
|
|
|
|
Requirements
|
|
|
|
</h4>
|
2002-10-13 05:47:23 +00:00
|
|
|
<div>
|
2004-10-11 06:58:45 +00:00
|
|
|
<b>Header:</b> <a href="../headers/tuple/to_seq.html"><boost/preprocessor/tuple/to_seq.hpp></a>
|
2002-10-13 05:47:23 +00:00
|
|
|
</div>
|
2002-11-07 23:39:29 +00:00
|
|
|
<h4>
|
|
|
|
Sample Code
|
|
|
|
</h4>
|
|
|
|
<div>
|
|
|
|
<pre>
|
2004-10-11 06:58:45 +00:00
|
|
|
#include <<a href="../headers/tuple/to_seq.html">boost/preprocessor/tuple/to_seq.hpp</a>>
|
2002-10-13 05:47:23 +00:00
|
|
|
|
2002-11-07 23:39:29 +00:00
|
|
|
<a href="tuple_to_seq.html">BOOST_PP_TUPLE_TO_SEQ</a>(3, (a, b, c)) // expands to (a)(b)(c)
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</body>
|
2002-10-13 05:47:23 +00:00
|
|
|
</html>
|