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

Macros

#define BOOST_PP_LIST_FIRST_N(count, list)   BOOST_PP_LIST_FIRST_N_I(count, list)
 
#define BOOST_PP_LIST_FIRST_N_I(count, list)   BOOST_PP_LIST_REVERSE(BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_WHILE(BOOST_PP_LIST_FIRST_N_P, BOOST_PP_LIST_FIRST_N_O, (count, list, BOOST_PP_NIL))))
 
#define BOOST_PP_LIST_FIRST_N_P(d, data)   BOOST_PP_LIST_FIRST_N_P_I data
 
#define BOOST_PP_LIST_FIRST_N_P_I(c, l, nl)   c
 
#define BOOST_PP_LIST_FIRST_N_O(d, data)   BOOST_PP_LIST_FIRST_N_O_D(BOOST_PP_TUPLE_ELEM(3, 0, data), BOOST_PP_TUPLE_ELEM(3, 1, data), BOOST_PP_TUPLE_ELEM(3, 2, data))
 
#define BOOST_PP_LIST_FIRST_N_O_D(c, l, nl)   (BOOST_PP_DEC(c), BOOST_PP_LIST_REST(l), (BOOST_PP_LIST_FIRST(l), nl))
 
#define BOOST_PP_LIST_FIRST_N_D(d, count, list)   BOOST_PP_LIST_FIRST_N_D_I(d, count, list)
 
#define BOOST_PP_LIST_FIRST_N_D_I(d, count, list)   BOOST_PP_LIST_REVERSE_D(d, BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_WHILE_ ## d(BOOST_PP_LIST_FIRST_N_P, BOOST_PP_LIST_FIRST_N_O, (count, list, BOOST_PP_NIL))))
 

Macro Definition Documentation

#define BOOST_PP_LIST_FIRST_N (   count,
  list 
)    BOOST_PP_LIST_FIRST_N_I(count, list)
#define BOOST_PP_LIST_FIRST_N_D (   d,
  count,
  list 
)    BOOST_PP_LIST_FIRST_N_D_I(d, count, list)
#define BOOST_PP_LIST_FIRST_N_D_I (   d,
  count,
  list 
)    BOOST_PP_LIST_REVERSE_D(d, BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_WHILE_ ## d(BOOST_PP_LIST_FIRST_N_P, BOOST_PP_LIST_FIRST_N_O, (count, list, BOOST_PP_NIL))))
#define BOOST_PP_LIST_FIRST_N_I (   count,
  list 
)    BOOST_PP_LIST_REVERSE(BOOST_PP_TUPLE_ELEM(3, 2, BOOST_PP_WHILE(BOOST_PP_LIST_FIRST_N_P, BOOST_PP_LIST_FIRST_N_O, (count, list, BOOST_PP_NIL))))
#define BOOST_PP_LIST_FIRST_N_O (   d,
  data 
)    BOOST_PP_LIST_FIRST_N_O_D(BOOST_PP_TUPLE_ELEM(3, 0, data), BOOST_PP_TUPLE_ELEM(3, 1, data), BOOST_PP_TUPLE_ELEM(3, 2, data))
#define BOOST_PP_LIST_FIRST_N_O_D (   c,
  l,
  nl 
)    (BOOST_PP_DEC(c), BOOST_PP_LIST_REST(l), (BOOST_PP_LIST_FIRST(l), nl))
#define BOOST_PP_LIST_FIRST_N_P (   d,
  data 
)    BOOST_PP_LIST_FIRST_N_P_I data
#define BOOST_PP_LIST_FIRST_N_P_I (   c,
  l,
  nl 
)    c