Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
remove.hpp File Reference
Include dependency graph for remove.hpp:
This graph shows which files directly or indirectly include this file:

Macros

#define BOOST_PP_ARRAY_REMOVE(array, i)   BOOST_PP_ARRAY_REMOVE_I(BOOST_PP_DEDUCE_D(), array, i)
 
#define BOOST_PP_ARRAY_REMOVE_I(d, array, i)   BOOST_PP_ARRAY_REMOVE_D(d, array, i)
 
#define BOOST_PP_ARRAY_REMOVE_D(d, array, i)   BOOST_PP_ARRAY_REMOVE_D_I(d, array, i)
 
#define BOOST_PP_ARRAY_REMOVE_D_I(d, array, i)   BOOST_PP_TUPLE_ELEM(4, 2, BOOST_PP_WHILE_ ## d(BOOST_PP_ARRAY_REMOVE_P, BOOST_PP_ARRAY_REMOVE_O, (0, i, (0, ()), array)))
 
#define BOOST_PP_ARRAY_REMOVE_P(d, st)   BOOST_PP_NOT_EQUAL(BOOST_PP_TUPLE_ELEM(4, 0, st), BOOST_PP_ARRAY_SIZE(BOOST_PP_TUPLE_ELEM(4, 3, st)))
 
#define BOOST_PP_ARRAY_REMOVE_O(d, st)   BOOST_PP_ARRAY_REMOVE_O_I(BOOST_PP_TUPLE_ELEM(4, 0, st), BOOST_PP_TUPLE_ELEM(4, 1, st), BOOST_PP_TUPLE_ELEM(4, 2, st), BOOST_PP_TUPLE_ELEM(4, 3, st))
 
#define BOOST_PP_ARRAY_REMOVE_O_I(n, i, res, arr)   (BOOST_PP_INC(n), i, BOOST_PP_IIF(BOOST_PP_NOT_EQUAL(n, i), BOOST_PP_ARRAY_PUSH_BACK, BOOST_PP_TUPLE_ELEM_2_0)(res, BOOST_PP_ARRAY_ELEM(n, arr)), arr)
 

Macro Definition Documentation

#define BOOST_PP_ARRAY_REMOVE (   array,
 
)    BOOST_PP_ARRAY_REMOVE_I(BOOST_PP_DEDUCE_D(), array, i)
#define BOOST_PP_ARRAY_REMOVE_D (   d,
  array,
 
)    BOOST_PP_ARRAY_REMOVE_D_I(d, array, i)
#define BOOST_PP_ARRAY_REMOVE_D_I (   d,
  array,
 
)    BOOST_PP_TUPLE_ELEM(4, 2, BOOST_PP_WHILE_ ## d(BOOST_PP_ARRAY_REMOVE_P, BOOST_PP_ARRAY_REMOVE_O, (0, i, (0, ()), array)))
#define BOOST_PP_ARRAY_REMOVE_I (   d,
  array,
 
)    BOOST_PP_ARRAY_REMOVE_D(d, array, i)
#define BOOST_PP_ARRAY_REMOVE_O (   d,
  st 
)    BOOST_PP_ARRAY_REMOVE_O_I(BOOST_PP_TUPLE_ELEM(4, 0, st), BOOST_PP_TUPLE_ELEM(4, 1, st), BOOST_PP_TUPLE_ELEM(4, 2, st), BOOST_PP_TUPLE_ELEM(4, 3, st))
#define BOOST_PP_ARRAY_REMOVE_O_I (   n,
  i,
  res,
  arr 
)    (BOOST_PP_INC(n), i, BOOST_PP_IIF(BOOST_PP_NOT_EQUAL(n, i), BOOST_PP_ARRAY_PUSH_BACK, BOOST_PP_TUPLE_ELEM_2_0)(res, BOOST_PP_ARRAY_ELEM(n, arr)), arr)
#define BOOST_PP_ARRAY_REMOVE_P (   d,
  st 
)    BOOST_PP_NOT_EQUAL(BOOST_PP_TUPLE_ELEM(4, 0, st), BOOST_PP_ARRAY_SIZE(BOOST_PP_TUPLE_ELEM(4, 3, st)))