repeat_from_to.hpp File Reference
`#include <msgpack/preprocessor/arithmetic/add.hpp>`
`#include <msgpack/preprocessor/arithmetic/sub.hpp>`
`#include <msgpack/preprocessor/cat.hpp>`
`#include <msgpack/preprocessor/config/config.hpp>`
`#include <msgpack/preprocessor/control/while.hpp>`
`#include <msgpack/preprocessor/debug/error.hpp>`
`#include <msgpack/preprocessor/detail/auto_rec.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_REPEAT_FROM_TO MSGPACK_PP_CAT(MSGPACK_PP_REPEAT_FROM_TO_, MSGPACK_PP_AUTO_REC(MSGPACK_PP_REPEAT_P, 4))
#define | MSGPACK_PP_REPEAT_FROM_TO_1(f, l, m, dt) MSGPACK_PP_REPEAT_FROM_TO_D_1(MSGPACK_PP_AUTO_REC(MSGPACK_PP_WHILE_P, 256), f, l, m, dt)
#define | MSGPACK_PP_REPEAT_FROM_TO_2(f, l, m, dt) MSGPACK_PP_REPEAT_FROM_TO_D_2(MSGPACK_PP_AUTO_REC(MSGPACK_PP_WHILE_P, 256), f, l, m, dt)
#define | MSGPACK_PP_REPEAT_FROM_TO_3(f, l, m, dt) MSGPACK_PP_REPEAT_FROM_TO_D_3(MSGPACK_PP_AUTO_REC(MSGPACK_PP_WHILE_P, 256), f, l, m, dt)
#define | MSGPACK_PP_REPEAT_FROM_TO_4(f, l, m, dt) MSGPACK_PP_ERROR(0x0003)
#define | MSGPACK_PP_REPEAT_FROM_TO_1ST MSGPACK_PP_REPEAT_FROM_TO_1
#define | MSGPACK_PP_REPEAT_FROM_TO_2ND MSGPACK_PP_REPEAT_FROM_TO_2
#define | MSGPACK_PP_REPEAT_FROM_TO_3RD MSGPACK_PP_REPEAT_FROM_TO_3
#define | MSGPACK_PP_REPEAT_FROM_TO_D MSGPACK_PP_CAT(MSGPACK_PP_REPEAT_FROM_TO_D_, MSGPACK_PP_AUTO_REC(MSGPACK_PP_REPEAT_P, 4))
#define | MSGPACK_PP_REPEAT_FROM_TO_D_1(d, f, l, m, dt) MSGPACK_PP_REPEAT_FROM_TO_D_1_I(d, f, l, m, dt)
#define | MSGPACK_PP_REPEAT_FROM_TO_D_2(d, f, l, m, dt) MSGPACK_PP_REPEAT_FROM_TO_D_2_I(d, f, l, m, dt)
#define | MSGPACK_PP_REPEAT_FROM_TO_D_3(d, f, l, m, dt) MSGPACK_PP_REPEAT_FROM_TO_D_3_I(d, f, l, m, dt)
#define | MSGPACK_PP_REPEAT_FROM_TO_D_1_I(d, f, l, m, dt) MSGPACK_PP_REPEAT_1(MSGPACK_PP_SUB_D(d, l, f), MSGPACK_PP_REPEAT_FROM_TO_M_1, (d, f, m, dt))
#define | MSGPACK_PP_REPEAT_FROM_TO_D_2_I(d, f, l, m, dt) MSGPACK_PP_REPEAT_2(MSGPACK_PP_SUB_D(d, l, f), MSGPACK_PP_REPEAT_FROM_TO_M_2, (d, f, m, dt))
#define | MSGPACK_PP_REPEAT_FROM_TO_D_3_I(d, f, l, m, dt) MSGPACK_PP_REPEAT_3(MSGPACK_PP_SUB_D(d, l, f), MSGPACK_PP_REPEAT_FROM_TO_M_3, (d, f, m, dt))
#define | MSGPACK_PP_REPEAT_FROM_TO_M_1(z, n, dfmd) MSGPACK_PP_REPEAT_FROM_TO_M_1_I(z, n, MSGPACK_PP_TUPLE_ELEM(4, 0, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 1, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 2, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 3, dfmd))
#define | MSGPACK_PP_REPEAT_FROM_TO_M_2(z, n, dfmd) MSGPACK_PP_REPEAT_FROM_TO_M_2_I(z, n, MSGPACK_PP_TUPLE_ELEM(4, 0, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 1, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 2, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 3, dfmd))
#define | MSGPACK_PP_REPEAT_FROM_TO_M_3(z, n, dfmd) MSGPACK_PP_REPEAT_FROM_TO_M_3_I(z, n, MSGPACK_PP_TUPLE_ELEM(4, 0, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 1, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 2, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 3, dfmd))
#define | MSGPACK_PP_REPEAT_FROM_TO_M_1_I(z, n, d, f, m, dt) MSGPACK_PP_REPEAT_FROM_TO_M_1_II(z, MSGPACK_PP_ADD_D(d, n, f), m, dt)
#define | MSGPACK_PP_REPEAT_FROM_TO_M_2_I(z, n, d, f, m, dt) MSGPACK_PP_REPEAT_FROM_TO_M_2_II(z, MSGPACK_PP_ADD_D(d, n, f), m, dt)
#define | MSGPACK_PP_REPEAT_FROM_TO_M_3_I(z, n, d, f, m, dt) MSGPACK_PP_REPEAT_FROM_TO_M_3_II(z, MSGPACK_PP_ADD_D(d, n, f), m, dt)
#define | MSGPACK_PP_REPEAT_FROM_TO_M_1_II(z, n, m, dt) m(z, n, dt)
#define | MSGPACK_PP_REPEAT_FROM_TO_M_2_II(z, n, m, dt) m(z, n, dt)
#define | MSGPACK_PP_REPEAT_FROM_TO_M_3_II(z, n, m, dt) m(z, n, dt)

## Macro Definition Documentation

## MSGPACK_PP_REPEAT_FROM_TO

#define MSGPACK_PP_REPEAT_FROM_TO MSGPACK_PP_CAT(MSGPACK_PP_REPEAT_FROM_TO_, MSGPACK_PP_AUTO_REC(MSGPACK_PP_REPEAT_P, 4))

## MSGPACK_PP_REPEAT_FROM_TO_1

#define MSGPACK_PP_REPEAT_FROM_TO_1 | ( |  | f,
|  |  | l,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_D_1(MSGPACK_PP_AUTO_REC(MSGPACK_PP_WHILE_P, 256), f, l, m, dt)

## MSGPACK_PP_REPEAT_FROM_TO_1ST

#define MSGPACK_PP_REPEAT_FROM_TO_1ST MSGPACK_PP_REPEAT_FROM_TO_1

## MSGPACK_PP_REPEAT_FROM_TO_2

#define MSGPACK_PP_REPEAT_FROM_TO_2 | ( |  | f,
|  |  | l,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_D_2(MSGPACK_PP_AUTO_REC(MSGPACK_PP_WHILE_P, 256), f, l, m, dt)

## MSGPACK_PP_REPEAT_FROM_TO_2ND

#define MSGPACK_PP_REPEAT_FROM_TO_2ND MSGPACK_PP_REPEAT_FROM_TO_2

## MSGPACK_PP_REPEAT_FROM_TO_3

#define MSGPACK_PP_REPEAT_FROM_TO_3 | ( |  | f,
|  |  | l,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_D_3(MSGPACK_PP_AUTO_REC(MSGPACK_PP_WHILE_P, 256), f, l, m, dt)

## MSGPACK_PP_REPEAT_FROM_TO_3RD

#define MSGPACK_PP_REPEAT_FROM_TO_3RD MSGPACK_PP_REPEAT_FROM_TO_3

## MSGPACK_PP_REPEAT_FROM_TO_4

#define MSGPACK_PP_REPEAT_FROM_TO_4 | ( |  | f,
|  |  | l,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_ERROR(0x0003)

## MSGPACK_PP_REPEAT_FROM_TO_D

#define MSGPACK_PP_REPEAT_FROM_TO_D MSGPACK_PP_CAT(MSGPACK_PP_REPEAT_FROM_TO_D_, MSGPACK_PP_AUTO_REC(MSGPACK_PP_REPEAT_P, 4))

## MSGPACK_PP_REPEAT_FROM_TO_D_1

#define MSGPACK_PP_REPEAT_FROM_TO_D_1 | ( |  | d,
|  |  | f,
|  |  | l,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_D_1_I(d, f, l, m, dt)

## MSGPACK_PP_REPEAT_FROM_TO_D_1_I

#define MSGPACK_PP_REPEAT_FROM_TO_D_1_I | ( |  | d,
|  |  | f,
|  |  | l,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_1(MSGPACK_PP_SUB_D(d, l, f), MSGPACK_PP_REPEAT_FROM_TO_M_1, (d, f, m, dt))

## MSGPACK_PP_REPEAT_FROM_TO_D_2

#define MSGPACK_PP_REPEAT_FROM_TO_D_2 | ( |  | d,
|  |  | f,
|  |  | l,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_D_2_I(d, f, l, m, dt)

## MSGPACK_PP_REPEAT_FROM_TO_D_2_I

#define MSGPACK_PP_REPEAT_FROM_TO_D_2_I | ( |  | d,
|  |  | f,
|  |  | l,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_2(MSGPACK_PP_SUB_D(d, l, f), MSGPACK_PP_REPEAT_FROM_TO_M_2, (d, f, m, dt))

## MSGPACK_PP_REPEAT_FROM_TO_D_3

#define MSGPACK_PP_REPEAT_FROM_TO_D_3 | ( |  | d,
|  |  | f,
|  |  | l,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_D_3_I(d, f, l, m, dt)

## MSGPACK_PP_REPEAT_FROM_TO_D_3_I

#define MSGPACK_PP_REPEAT_FROM_TO_D_3_I | ( |  | d,
|  |  | f,
|  |  | l,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_3(MSGPACK_PP_SUB_D(d, l, f), MSGPACK_PP_REPEAT_FROM_TO_M_3, (d, f, m, dt))

## MSGPACK_PP_REPEAT_FROM_TO_M_1

#define MSGPACK_PP_REPEAT_FROM_TO_M_1 | ( |  | z,
|  |  | n,
|  |  | dfmd
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_M_1_I(z, n, MSGPACK_PP_TUPLE_ELEM(4, 0, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 1, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 2, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 3, dfmd))

## MSGPACK_PP_REPEAT_FROM_TO_M_1_I

#define MSGPACK_PP_REPEAT_FROM_TO_M_1_I | ( |  | z,
|  |  | n,
|  |  | d,
|  |  | f,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_M_1_II(z, MSGPACK_PP_ADD_D(d, n, f), m, dt)

## MSGPACK_PP_REPEAT_FROM_TO_M_1_II

#define MSGPACK_PP_REPEAT_FROM_TO_M_1_II | ( |  | z,
|  |  | n,
|  |  | m,
|  |  | dt
| ) |  | m(z, n, dt)

## MSGPACK_PP_REPEAT_FROM_TO_M_2

#define MSGPACK_PP_REPEAT_FROM_TO_M_2 | ( |  | z,
|  |  | n,
|  |  | dfmd
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_M_2_I(z, n, MSGPACK_PP_TUPLE_ELEM(4, 0, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 1, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 2, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 3, dfmd))

## MSGPACK_PP_REPEAT_FROM_TO_M_2_I

#define MSGPACK_PP_REPEAT_FROM_TO_M_2_I | ( |  | z,
|  |  | n,
|  |  | d,
|  |  | f,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_M_2_II(z, MSGPACK_PP_ADD_D(d, n, f), m, dt)

## MSGPACK_PP_REPEAT_FROM_TO_M_2_II

#define MSGPACK_PP_REPEAT_FROM_TO_M_2_II | ( |  | z,
|  |  | n,
|  |  | m,
|  |  | dt
| ) |  | m(z, n, dt)

## MSGPACK_PP_REPEAT_FROM_TO_M_3

#define MSGPACK_PP_REPEAT_FROM_TO_M_3 | ( |  | z,
|  |  | n,
|  |  | dfmd
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_M_3_I(z, n, MSGPACK_PP_TUPLE_ELEM(4, 0, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 1, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 2, dfmd), MSGPACK_PP_TUPLE_ELEM(4, 3, dfmd))

## MSGPACK_PP_REPEAT_FROM_TO_M_3_I

#define MSGPACK_PP_REPEAT_FROM_TO_M_3_I | ( |  | z,
|  |  | n,
|  |  | d,
|  |  | f,
|  |  | m,
|  |  | dt
| ) |  | MSGPACK_PP_REPEAT_FROM_TO_M_3_II(z, MSGPACK_PP_ADD_D(d, n, f), m, dt)

## MSGPACK_PP_REPEAT_FROM_TO_M_3_II

#define MSGPACK_PP_REPEAT_FROM_TO_M_3_II | ( |  | z,
|  |  | n,
|  |  | m,
|  |  | dt
| ) |  | m(z, n, dt)