3 <meta content=
"text/html; charset=windows-1252" http-equiv=
"content-type">
4 <title>BOOST_PP_TUPLE_POP_BACK
</title>
5 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
8 <div style=
"margin-left: 0px;"> The
<b>BOOST_PP_TUPLE_POP_BACK
</b> macro
9 pops an element from the end of an
<i>tuple
</i>.
</div>
11 <div class=
"code"> <b>BOOST_PP_TUPLE_POP_BACK
</b>(
<i>tuple
</i>)
<a href=
"../topics/variadic_macros.html#VNotation"><sup>(v)
</sup></a></div>
15 <dd>The
<i>tuple
</i> to pop an element from.
</dd>
18 <div style=
"background-color: white;"> This macro returns
<i>tuple
</i>
19 after removing the last element.
If
<i>tuple
</i> has only a single
20 element, it remains unchanged since a
<i>tuple
</i>must have at
21 least one element.
</div>
22 <div> This macro uses
<b>BOOST_PP_REPEAT
</b> internally.
Therefore,
23 to use the
<i>z
</i> parameter passed from other macros that use
<b>BOOST_PP_REPEAT
</b>,
24 see
<b>BOOST_PP_TUPLE_POP_BACK_Z
</b> </div>
27 <li><a href=
"tuple_pop_back_z.html">BOOST_PP_TUPLE_POP_BACK_Z
</a></li>
30 <div> <b>Header:
</b> <a href=
"../headers/tuple/pop_back.html"><boost/preprocessor/tuple/pop_back.hpp
></a>
34 <pre>#include
<<a href=
"../headers/tuple/pop_back.html">boost/preprocessor/tuple/pop_back.hpp
</a>>
36 #define TUPLE (a, b, c)
38 <a href=
"tuple_pop_back.html">BOOST_PP_TUPLE_POP_BACK
</a>(TUPLE) // expands to (a, b)
41 <div style=
"margin-left: 0px;"> <i>© Copyright Edward Diener
2013</i> </div>
42 <div style=
"margin-left: 0px;">
43 <p><small>Distributed under the Boost Software License, Version
1.0. (See
44 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a>
45 or copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>