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

Macros

#define BOOST_PP_ADD(x, y)   BOOST_PP_ADD_I(x, y)
 
#define BOOST_PP_ADD_I(x, y)   BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y)))
 
#define BOOST_PP_ADD_P(d, xy)   BOOST_PP_TUPLE_ELEM(2, 1, xy)
 
#define BOOST_PP_ADD_O(d, xy)   BOOST_PP_ADD_O_I(BOOST_PP_TUPLE_ELEM(2, 0, xy), BOOST_PP_TUPLE_ELEM(2, 1, xy))
 
#define BOOST_PP_ADD_O_I(x, y)   (BOOST_PP_INC(x), BOOST_PP_DEC(y))
 
#define BOOST_PP_ADD_D(d, x, y)   BOOST_PP_ADD_D_I(d, x, y)
 
#define BOOST_PP_ADD_D_I(d, x, y)   BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y)))
 

Macro Definition Documentation

#define BOOST_PP_ADD (   x,
 
)    BOOST_PP_ADD_I(x, y)
#define BOOST_PP_ADD_D (   d,
  x,
 
)    BOOST_PP_ADD_D_I(d, x, y)
#define BOOST_PP_ADD_D_I (   d,
  x,
 
)    BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y)))
#define BOOST_PP_ADD_I (   x,
 
)    BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE(BOOST_PP_ADD_P, BOOST_PP_ADD_O, (x, y)))
#define BOOST_PP_ADD_O (   d,
  xy 
)    BOOST_PP_ADD_O_I(BOOST_PP_TUPLE_ELEM(2, 0, xy), BOOST_PP_TUPLE_ELEM(2, 1, xy))
#define BOOST_PP_ADD_O_I (   x,
 
)    (BOOST_PP_INC(x), BOOST_PP_DEC(y))
#define BOOST_PP_ADD_P (   d,
  xy 
)    BOOST_PP_TUPLE_ELEM(2, 1, xy)