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

Macros

#define BOOST_PP_ENUM_SHIFTED   BOOST_PP_CAT(BOOST_PP_ENUM_SHIFTED_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
 
#define BOOST_PP_ENUM_SHIFTED_1(c, m, d)   BOOST_PP_ENUM_SHIFTED_1_I(c, m, d)
 
#define BOOST_PP_ENUM_SHIFTED_2(c, m, d)   BOOST_PP_ENUM_SHIFTED_1_2(c, m, d)
 
#define BOOST_PP_ENUM_SHIFTED_3(c, m, d)   BOOST_PP_ENUM_SHIFTED_1_3(c, m, d)
 
#define BOOST_PP_ENUM_SHIFTED_1_I(c, m, d)   BOOST_PP_REPEAT_1(BOOST_PP_DEC(c), BOOST_PP_ENUM_SHIFTED_M_1, (m, d))
 
#define BOOST_PP_ENUM_SHIFTED_2_I(c, m, d)   BOOST_PP_REPEAT_2(BOOST_PP_DEC(c), BOOST_PP_ENUM_SHIFTED_M_2, (m, d))
 
#define BOOST_PP_ENUM_SHIFTED_3_I(c, m, d)   BOOST_PP_REPEAT_3(BOOST_PP_DEC(c), BOOST_PP_ENUM_SHIFTED_M_3, (m, d))
 
#define BOOST_PP_ENUM_SHIFTED_4(c, m, d)   BOOST_PP_ERROR(0x0003)
 
#define BOOST_PP_ENUM_SHIFTED_M_1(z, n, md)   BOOST_PP_ENUM_SHIFTED_M_1_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
 
#define BOOST_PP_ENUM_SHIFTED_M_2(z, n, md)   BOOST_PP_ENUM_SHIFTED_M_2_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
 
#define BOOST_PP_ENUM_SHIFTED_M_3(z, n, md)   BOOST_PP_ENUM_SHIFTED_M_3_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
 
#define BOOST_PP_ENUM_SHIFTED_M_1_I(z, n, m, d)   BOOST_PP_COMMA_IF(n) m(z, BOOST_PP_INC(n), d)
 
#define BOOST_PP_ENUM_SHIFTED_M_2_I(z, n, m, d)   BOOST_PP_COMMA_IF(n) m(z, BOOST_PP_INC(n), d)
 
#define BOOST_PP_ENUM_SHIFTED_M_3_I(z, n, m, d)   BOOST_PP_COMMA_IF(n) m(z, BOOST_PP_INC(n), d)
 

Macro Definition Documentation

#define BOOST_PP_ENUM_SHIFTED   BOOST_PP_CAT(BOOST_PP_ENUM_SHIFTED_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
#define BOOST_PP_ENUM_SHIFTED_1 (   c,
  m,
 
)    BOOST_PP_ENUM_SHIFTED_1_I(c, m, d)
#define BOOST_PP_ENUM_SHIFTED_1_I (   c,
  m,
 
)    BOOST_PP_REPEAT_1(BOOST_PP_DEC(c), BOOST_PP_ENUM_SHIFTED_M_1, (m, d))
#define BOOST_PP_ENUM_SHIFTED_2 (   c,
  m,
 
)    BOOST_PP_ENUM_SHIFTED_1_2(c, m, d)
#define BOOST_PP_ENUM_SHIFTED_2_I (   c,
  m,
 
)    BOOST_PP_REPEAT_2(BOOST_PP_DEC(c), BOOST_PP_ENUM_SHIFTED_M_2, (m, d))
#define BOOST_PP_ENUM_SHIFTED_3 (   c,
  m,
 
)    BOOST_PP_ENUM_SHIFTED_1_3(c, m, d)
#define BOOST_PP_ENUM_SHIFTED_3_I (   c,
  m,
 
)    BOOST_PP_REPEAT_3(BOOST_PP_DEC(c), BOOST_PP_ENUM_SHIFTED_M_3, (m, d))
#define BOOST_PP_ENUM_SHIFTED_4 (   c,
  m,
 
)    BOOST_PP_ERROR(0x0003)
#define BOOST_PP_ENUM_SHIFTED_M_1 (   z,
  n,
  md 
)    BOOST_PP_ENUM_SHIFTED_M_1_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
#define BOOST_PP_ENUM_SHIFTED_M_1_I (   z,
  n,
  m,
 
)    BOOST_PP_COMMA_IF(n) m(z, BOOST_PP_INC(n), d)
#define BOOST_PP_ENUM_SHIFTED_M_2 (   z,
  n,
  md 
)    BOOST_PP_ENUM_SHIFTED_M_2_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
#define BOOST_PP_ENUM_SHIFTED_M_2_I (   z,
  n,
  m,
 
)    BOOST_PP_COMMA_IF(n) m(z, BOOST_PP_INC(n), d)
#define BOOST_PP_ENUM_SHIFTED_M_3 (   z,
  n,
  md 
)    BOOST_PP_ENUM_SHIFTED_M_3_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
#define BOOST_PP_ENUM_SHIFTED_M_3_I (   z,
  n,
  m,
 
)    BOOST_PP_COMMA_IF(n) m(z, BOOST_PP_INC(n), d)