forked from boostorg/preprocessor
37 lines
955 B
HTML
37 lines
955 B
HTML
![]() |
<html>
|
||
|
<head>
|
||
|
<title>BOOST_PP_TUPLE_TO_SET</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../styles.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div style="margin-left: 0px;">
|
||
|
The <b>BOOST_PP_TUPLE_TO_SET</b> macro converts a <i>tuple</i> to an <i>set</i>.
|
||
|
</div>
|
||
|
<h4>Usage</h4>
|
||
|
<div class="code">
|
||
|
<b>BOOST_PP_TUPLE_TO_SET</b>(<i>size</i>, <i>tuple</i>)
|
||
|
</div>
|
||
|
<h4>Arguments</h4>
|
||
|
<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>
|
||
|
<h4>Requirements</h4>
|
||
|
<div>
|
||
|
<b>Header:</b> <a href="../headers/tuple/to_set.hpp.html"><boost/preprocessor/tuple/to_set.hpp></a>
|
||
|
</div>
|
||
|
<h4>Sample Code</h4>
|
||
|
<div><pre>
|
||
|
#include <<a href="../headers/tuple/to_set.hpp.html">boost/preprocessor/tuple/to_set.hpp</a>>
|
||
|
|
||
|
<a href="tuple_to_set.html">BOOST_PP_TUPLE_TO_SET</a>(3, (a, b, c)) // expands to (a)(b)(c)
|
||
|
</pre></div>
|
||
|
</body>
|
||
|
</html>
|