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

Macros

#define BOOST_PP_LIST_SIZE(list)   BOOST_PP_LIST_SIZE_I(list)
 
#define BOOST_PP_LIST_SIZE_I(list)   BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_LIST_SIZE_P, BOOST_PP_LIST_SIZE_O, (0, list)))
 
#define BOOST_PP_LIST_SIZE_P(d, rl)   BOOST_PP_LIST_SIZE_P_I(BOOST_PP_TUPLE_REM_2 rl)
 
#define BOOST_PP_LIST_SIZE_P_I(im)   BOOST_PP_LIST_SIZE_P_II(im)
 
#define BOOST_PP_LIST_SIZE_P_II(r, l)   BOOST_PP_LIST_IS_CONS(l)
 
#define BOOST_PP_LIST_SIZE_O(d, rl)   BOOST_PP_LIST_SIZE_O_I(BOOST_PP_TUPLE_REM_2 rl)
 
#define BOOST_PP_LIST_SIZE_O_I(im)   BOOST_PP_LIST_SIZE_O_II(im)
 
#define BOOST_PP_LIST_SIZE_O_II(r, l)   (BOOST_PP_INC(r), BOOST_PP_LIST_REST(l))
 
#define BOOST_PP_LIST_SIZE_D(d, list)   BOOST_PP_LIST_SIZE_D_I(d, list)
 
#define BOOST_PP_LIST_SIZE_D_I(d, list)   BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_LIST_SIZE_P, BOOST_PP_LIST_SIZE_O, (0, list)))
 

Macro Definition Documentation

#define BOOST_PP_LIST_SIZE (   list)    BOOST_PP_LIST_SIZE_I(list)
#define BOOST_PP_LIST_SIZE_D (   d,
  list 
)    BOOST_PP_LIST_SIZE_D_I(d, list)
#define BOOST_PP_LIST_SIZE_D_I (   d,
  list 
)    BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_LIST_SIZE_P, BOOST_PP_LIST_SIZE_O, (0, list)))
#define BOOST_PP_LIST_SIZE_I (   list)    BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_LIST_SIZE_P, BOOST_PP_LIST_SIZE_O, (0, list)))
#define BOOST_PP_LIST_SIZE_O (   d,
  rl 
)    BOOST_PP_LIST_SIZE_O_I(BOOST_PP_TUPLE_REM_2 rl)
#define BOOST_PP_LIST_SIZE_O_I (   im)    BOOST_PP_LIST_SIZE_O_II(im)
#define BOOST_PP_LIST_SIZE_O_II (   r,
 
)    (BOOST_PP_INC(r), BOOST_PP_LIST_REST(l))
#define BOOST_PP_LIST_SIZE_P (   d,
  rl 
)    BOOST_PP_LIST_SIZE_P_I(BOOST_PP_TUPLE_REM_2 rl)
#define BOOST_PP_LIST_SIZE_P_I (   im)    BOOST_PP_LIST_SIZE_P_II(im)
#define BOOST_PP_LIST_SIZE_P_II (   r,
 
)    BOOST_PP_LIST_IS_CONS(l)