forked from boostorg/preprocessor
43 lines
1.0 KiB
HTML
43 lines
1.0 KiB
HTML
![]() |
<html>
|
||
|
<head>
|
||
|
<title>BOOST_PP_SET_REVERSE</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../styles.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div style="margin-left: 0px;">
|
||
|
The <b>BOOST_PP_SET_REVERSE</b> macro reverses a <i>set</i>.
|
||
|
</div>
|
||
|
<h4>Usage</h4>
|
||
|
<div class="code">
|
||
|
<b>BOOST_PP_SET_REVERSE</b>(<i>set</i>)
|
||
|
</div>
|
||
|
<h4>Arguments</h4>
|
||
|
<dl>
|
||
|
<dt>set</dt>
|
||
|
<dd>
|
||
|
The <i>set</i> to be reversed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<h4>Remarks</h4>
|
||
|
<div>
|
||
|
For maximum efficiency, use <b>BOOST_PP_SET_REVERSE_S</b>.
|
||
|
</div>
|
||
|
<h4>See Also</h4>
|
||
|
<ul>
|
||
|
<li><a href="set_reverse_s.html">BOOST_PP_SET_REVERSE_S</a></li>
|
||
|
</ul>
|
||
|
<h4>Requirements</h4>
|
||
|
<div>
|
||
|
<b>Header:</b> <a href="../headers/set/reverse.hpp.html"><boost/preprocessor/set/reverse.hpp></a>
|
||
|
</div>
|
||
|
<h4>Sample Code</h4>
|
||
|
<div><pre>
|
||
|
#include <<a href="../headers/set/reverse.hpp.html">boost/preprocessor/set/reverse.hpp</a>>
|
||
|
|
||
|
#define SET (1)(2)(3)
|
||
|
|
||
|
<a href="set_reverse.html">BOOST_PP_SET_REVERSE</a>(SET) // expands to (3)(2)(1)
|
||
|
</pre></div>
|
||
|
</body>
|
||
|
</html>
|