3 <title>BOOST_PP_ARRAY_REMOVE
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_ARRAY_REMOVE
</b> macro removes an element from an
<i>array
</i>.
12 <b>BOOST_PP_ARRAY_REMOVE
</b>(
<i>array
</i>,
<i>i
</i>)
18 The
<i>array
</i> from which an element is to be removed.
22 The zero-based position in
<i>array
</i> of the element to be removed.
23 Valid values range from
<i>0</i> to
<b>BOOST_PP_ARRAY_SIZE
</b>(
<i>array
</i>) -
<i>1</i>.
28 This macro uses
<b>BOOST_PP_WHILE
</b> interally.
29 Therefore, to use the
<i>d
</i> parameter passed from other macros that use
<b>BOOST_PP_WHILE
</b>,
30 see
<b>BOOST_PP_ARRAY_REMOVE_D
</b>.
34 <li><a href=
"array_remove_d.html">BOOST_PP_ARRAY_REMOVE_D
</a></li>
38 <b>Header:
</b> <a href=
"../headers/array/remove.html"><boost/preprocessor/array/remove.hpp
></a>
42 #include
<<a href=
"../headers/array/remove.html">boost/preprocessor/array/remove.hpp
</a>>
44 #define ARRAY (
3, (a, b, d))
46 <a href=
"array_remove.html">BOOST_PP_ARRAY_REMOVE
</a>(ARRAY,
2) // expands to (
2, (a, b))
49 <div style=
"margin-left: 0px;">
50 <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
51 </br><i>© Copyright Paul Mensonides
2002</i>
53 <div style=
"margin-left: 0px;">
54 <p><small>Distributed under the Boost Software License, Version
1.0. (See
55 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
57 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>