forked from boostorg/preprocessor
set -> seq
[SVN r16150]
This commit is contained in:
@ -1,34 +1,44 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>BOOST_PP_SET_TO_TUPLE</title>
|
||||
<link rel="stylesheet" type="text/css" href="../styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div style="margin-left: 0px;">
|
||||
The <b>BOOST_PP_SET_TO_TUPLE</b> macro converts a <i>set</i> to an <i>tuple</i>.
|
||||
</div>
|
||||
<h4>Usage</h4>
|
||||
<div class="code">
|
||||
<b>BOOST_PP_SET_TO_TUPLE</b>(<i>set</i>)
|
||||
<head>
|
||||
<title>BOOST_PP_SEQ_TO_TUPLE</title>
|
||||
<link rel="stylesheet" type="text/css" href="../styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div style="margin-left: 0px;">
|
||||
The <b>BOOST_PP_SEQ_TO_TUPLE</b> macro converts a <i>seq</i> to an <i>tuple</i>.
|
||||
</div>
|
||||
<h4>Arguments</h4>
|
||||
<h4>
|
||||
Usage
|
||||
</h4>
|
||||
<div class="code">
|
||||
<b>BOOST_PP_SEQ_TO_TUPLE</b>(<i>seq</i>)
|
||||
</div>
|
||||
<h4>
|
||||
Arguments
|
||||
</h4>
|
||||
<dl>
|
||||
<dt>set</dt>
|
||||
<dt>seq</dt>
|
||||
<dd>
|
||||
The <i>set</i> to be converted.
|
||||
The <i>seq</i> to be converted.
|
||||
</dd>
|
||||
</dl>
|
||||
<h4>Requirements</h4>
|
||||
<h4>
|
||||
Requirements
|
||||
</h4>
|
||||
<div>
|
||||
<b>Header:</b> <a href="../headers/set/to_tuple.hpp.html"><boost/preprocessor/set/to_tuple.hpp></a>
|
||||
<b>Header:</b> <a href="../headers/seq/to_tuple.hpp.html"><boost/preprocessor/seq/to_tuple.hpp></a>
|
||||
</div>
|
||||
<h4>Sample Code</h4>
|
||||
<div><pre>
|
||||
#include <<a href="../headers/set/to_tuple.hpp.html">boost/preprocessor/set/to_tuple.hpp</a>>
|
||||
<h4>
|
||||
Sample Code
|
||||
</h4>
|
||||
<div>
|
||||
<pre>
|
||||
#include <<a href="../headers/seq/to_tuple.hpp.html">boost/preprocessor/seq/to_tuple.hpp</a>>
|
||||
|
||||
#define SET (a)(b)(c)
|
||||
#define SEQ (a)(b)(c)
|
||||
|
||||
<a href="set_to_tuple.html">BOOST_PP_SET_TO_TUPLE</a>(SET) // expands to (a, b, c)
|
||||
</pre></div>
|
||||
</body>
|
||||
<a href="seq_to_tuple.html">BOOST_PP_SEQ_TO_TUPLE</a>(SEQ) // expands to (a, b, c)
|
||||
</pre>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user