3 <title>BOOST_PP_TUPLE_REVERSE
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_TUPLE_REVERSE
</b> macro reverses a
<i>tuple
</i>.
12 <b>BOOST_PP_TUPLE_REVERSE
</b>(
<i>size
</i>,
<i>tuple
</i>)
<br>
16 <b>BOOST_PP_TUPLE_REVERSE
</b>(
<i>...
</i>)
<a href=
"../topics/variadic_macros.html#VNotation" target=
"_self"><sup>(v)
</sup></a><br>
23 The size of the
<i>tuple
</i> to be reversed.
24 Valid
<i>tuple
</i> sizes range from
<i>1</i> to
<b>BOOST_PP_LIMIT_TUPLE
</b>.
28 The
<i>tuple
</i> to be reversed.
33 The
<i>size
</i> argument must be the actual size of the
<i>tuple
</i>.
<br>
36 invoke the variadic version
<a href=
"../topics/variadic_macros.html#VNotation" target=
"_self"><sup>(v)
</sup></a> as BOOST_PP_TUPLE_REVERSE(
<i>tuple
</i>) or
37 BOOST_PP_TUPLE_REVERSE(
<i>size
</i>,
<i>tuple
</i>).
<br>
41 <li><a href=
"limit_tuple.html">BOOST_PP_LIMIT_TUPLE
</a></li>
45 <b>Header:
</b> <a href=
"../headers/tuple/reverse.html"><boost/preprocessor/tuple/reverse.hpp
></a>
48 <div><pre>#include
<<a href=
"../headers/tuple/reverse.html">boost/preprocessor/tuple/reverse.hpp
</a>><br><br><a href=
"tuple_reverse.html">BOOST_PP_TUPLE_REVERSE
</a>(
3, (x, y, z)) // expands to (z, y, x)
<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_reverse.html">BOOST_PP_TUPLE_REVERSE
</a>((x, y, z)) // expands to (z, y, x)
<br></pre></div>
50 <div style=
"margin-left: 0px;">
51 <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
52 <br><i>© Copyright Paul Mensonides
2002<br>
53 </i><i>© Copyright Edward Diener
2011,
2013</i><br>
55 <div style=
"margin-left: 0px;">
56 <p><small>Distributed under the Boost Software License, Version
1.0. (See
57 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
58 copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>