enum_shifted.hpp File Reference
`#include <msgpack/preprocessor/cat.hpp>`
`#include <msgpack/preprocessor/arithmetic/dec.hpp>`
`#include <msgpack/preprocessor/arithmetic/inc.hpp>`
`#include <msgpack/preprocessor/config/config.hpp>`
`#include <msgpack/preprocessor/debug/error.hpp>`
`#include <msgpack/preprocessor/detail/auto_rec.hpp>`
`#include <msgpack/preprocessor/punctuation/comma_if.hpp>`
`#include <msgpack/preprocessor/repetition/repeat.hpp>`
`#include <msgpack/preprocessor/tuple/elem.hpp>`
`#include <msgpack/preprocessor/tuple/rem.hpp>`

Go to the source code of this file.

## Macros

#define | MSGPACK_PP_ENUM_SHIFTED MSGPACK_PP_CAT(MSGPACK_PP_ENUM_SHIFTED_, MSGPACK_PP_AUTO_REC(MSGPACK_PP_REPEAT_P, 4))
#define | MSGPACK_PP_ENUM_SHIFTED_1(c, m, d) MSGPACK_PP_ENUM_SHIFTED_1_I(c, m, d)
#define | MSGPACK_PP_ENUM_SHIFTED_2(c, m, d) MSGPACK_PP_ENUM_SHIFTED_1_2(c, m, d)
#define | MSGPACK_PP_ENUM_SHIFTED_3(c, m, d) MSGPACK_PP_ENUM_SHIFTED_1_3(c, m, d)
#define | MSGPACK_PP_ENUM_SHIFTED_1_I(c, m, d) MSGPACK_PP_REPEAT_1(MSGPACK_PP_DEC(c), MSGPACK_PP_ENUM_SHIFTED_M_1, (m, d))
#define | MSGPACK_PP_ENUM_SHIFTED_2_I(c, m, d) MSGPACK_PP_REPEAT_2(MSGPACK_PP_DEC(c), MSGPACK_PP_ENUM_SHIFTED_M_2, (m, d))
#define | MSGPACK_PP_ENUM_SHIFTED_3_I(c, m, d) MSGPACK_PP_REPEAT_3(MSGPACK_PP_DEC(c), MSGPACK_PP_ENUM_SHIFTED_M_3, (m, d))
#define | MSGPACK_PP_ENUM_SHIFTED_4(c, m, d) MSGPACK_PP_ERROR(0x0003)
#define | MSGPACK_PP_ENUM_SHIFTED_M_1(z, n, md) MSGPACK_PP_ENUM_SHIFTED_M_1_I(z, n, MSGPACK_PP_TUPLE_ELEM(2, 0, md), MSGPACK_PP_TUPLE_ELEM(2, 1, md))
#define | MSGPACK_PP_ENUM_SHIFTED_M_2(z, n, md) MSGPACK_PP_ENUM_SHIFTED_M_2_I(z, n, MSGPACK_PP_TUPLE_ELEM(2, 0, md), MSGPACK_PP_TUPLE_ELEM(2, 1, md))
#define | MSGPACK_PP_ENUM_SHIFTED_M_3(z, n, md) MSGPACK_PP_ENUM_SHIFTED_M_3_I(z, n, MSGPACK_PP_TUPLE_ELEM(2, 0, md), MSGPACK_PP_TUPLE_ELEM(2, 1, md))
#define | MSGPACK_PP_ENUM_SHIFTED_M_1_I(z, n, m, d) MSGPACK_PP_COMMA_IF(n) m(z, MSGPACK_PP_INC(n), d)
#define | MSGPACK_PP_ENUM_SHIFTED_M_2_I(z, n, m, d) MSGPACK_PP_COMMA_IF(n) m(z, MSGPACK_PP_INC(n), d)
#define | MSGPACK_PP_ENUM_SHIFTED_M_3_I(z, n, m, d) MSGPACK_PP_COMMA_IF(n) m(z, MSGPACK_PP_INC(n), d)

## Macro Definition Documentation

## MSGPACK_PP_ENUM_SHIFTED

#define MSGPACK_PP_ENUM_SHIFTED MSGPACK_PP_CAT(MSGPACK_PP_ENUM_SHIFTED_, MSGPACK_PP_AUTO_REC(MSGPACK_PP_REPEAT_P, 4))

## MSGPACK_PP_ENUM_SHIFTED_1

#define MSGPACK_PP_ENUM_SHIFTED_1 | ( |  | c,
|  |  | m,
|  |  | d
| ) |  | MSGPACK_PP_ENUM_SHIFTED_1_I(c, m, d)

## MSGPACK_PP_ENUM_SHIFTED_1_I

#define MSGPACK_PP_ENUM_SHIFTED_1_I | ( |  | c,
|  |  | m,
|  |  | d
| ) |  | MSGPACK_PP_REPEAT_1(MSGPACK_PP_DEC(c), MSGPACK_PP_ENUM_SHIFTED_M_1, (m, d))

## MSGPACK_PP_ENUM_SHIFTED_2

#define MSGPACK_PP_ENUM_SHIFTED_2 | ( |  | c,
|  |  | m,
|  |  | d
| ) |  | MSGPACK_PP_ENUM_SHIFTED_1_2(c, m, d)

## MSGPACK_PP_ENUM_SHIFTED_2_I

#define MSGPACK_PP_ENUM_SHIFTED_2_I | ( |  | c,
|  |  | m,
|  |  | d
| ) |  | MSGPACK_PP_REPEAT_2(MSGPACK_PP_DEC(c), MSGPACK_PP_ENUM_SHIFTED_M_2, (m, d))

## MSGPACK_PP_ENUM_SHIFTED_3

#define MSGPACK_PP_ENUM_SHIFTED_3 | ( |  | c,
|  |  | m,
|  |  | d
| ) |  | MSGPACK_PP_ENUM_SHIFTED_1_3(c, m, d)

## MSGPACK_PP_ENUM_SHIFTED_3_I

#define MSGPACK_PP_ENUM_SHIFTED_3_I | ( |  | c,
|  |  | m,
|  |  | d
| ) |  | MSGPACK_PP_REPEAT_3(MSGPACK_PP_DEC(c), MSGPACK_PP_ENUM_SHIFTED_M_3, (m, d))

## MSGPACK_PP_ENUM_SHIFTED_4

#define MSGPACK_PP_ENUM_SHIFTED_4 | ( |  | c,
|  |  | m,
|  |  | d
| ) |  | MSGPACK_PP_ERROR(0x0003)

## MSGPACK_PP_ENUM_SHIFTED_M_1

#define MSGPACK_PP_ENUM_SHIFTED_M_1 | ( |  | z,
|  |  | n,
|  |  | md
| ) |  | MSGPACK_PP_ENUM_SHIFTED_M_1_I(z, n, MSGPACK_PP_TUPLE_ELEM(2, 0, md), MSGPACK_PP_TUPLE_ELEM(2, 1, md))

## MSGPACK_PP_ENUM_SHIFTED_M_1_I

#define MSGPACK_PP_ENUM_SHIFTED_M_1_I | ( |  | z,
|  |  | n,
|  |  | m,
|  |  | d
| ) |  | MSGPACK_PP_COMMA_IF(n) m(z, MSGPACK_PP_INC(n), d)

## MSGPACK_PP_ENUM_SHIFTED_M_2

#define MSGPACK_PP_ENUM_SHIFTED_M_2 | ( |  | z,
|  |  | n,
|  |  | md
| ) |  | MSGPACK_PP_ENUM_SHIFTED_M_2_I(z, n, MSGPACK_PP_TUPLE_ELEM(2, 0, md), MSGPACK_PP_TUPLE_ELEM(2, 1, md))

## MSGPACK_PP_ENUM_SHIFTED_M_2_I

#define MSGPACK_PP_ENUM_SHIFTED_M_2_I | ( |  | z,
|  |  | n,
|  |  | m,
|  |  | d
| ) |  | MSGPACK_PP_COMMA_IF(n) m(z, MSGPACK_PP_INC(n), d)

## MSGPACK_PP_ENUM_SHIFTED_M_3

#define MSGPACK_PP_ENUM_SHIFTED_M_3 | ( |  | z,
|  |  | n,
|  |  | md
| ) |  | MSGPACK_PP_ENUM_SHIFTED_M_3_I(z, n, MSGPACK_PP_TUPLE_ELEM(2, 0, md), MSGPACK_PP_TUPLE_ELEM(2, 1, md))

## MSGPACK_PP_ENUM_SHIFTED_M_3_I

#define MSGPACK_PP_ENUM_SHIFTED_M_3_I | ( |  | z,
|  |  | n,
|  |  | m,
|  |  | d
| ) |  | MSGPACK_PP_COMMA_IF(n) m(z, MSGPACK_PP_INC(n), d)