MessagePack for C++
Macros
replace.hpp File Reference
#include <msgpack/preprocessor/arithmetic/inc.hpp>
#include <msgpack/preprocessor/config/config.hpp>
#include <msgpack/preprocessor/seq/first_n.hpp>
#include <msgpack/preprocessor/seq/rest_n.hpp>

Go to the source code of this file.

Macros

#define MSGPACK_PP_SEQ_REPLACE(seq, i, elem)   MSGPACK_PP_SEQ_REPLACE_I(seq, i, elem)
 
#define MSGPACK_PP_SEQ_REPLACE_I(seq, i, elem)   MSGPACK_PP_SEQ_FIRST_N(i, seq) (elem) MSGPACK_PP_SEQ_REST_N(MSGPACK_PP_INC(i), seq)
 

Macro Definition Documentation

#define MSGPACK_PP_SEQ_REPLACE (   seq,
  i,
  elem 
)    MSGPACK_PP_SEQ_REPLACE_I(seq, i, elem)
#define MSGPACK_PP_SEQ_REPLACE_I (   seq,
  i,
  elem 
)    MSGPACK_PP_SEQ_FIRST_N(i, seq) (elem) MSGPACK_PP_SEQ_REST_N(MSGPACK_PP_INC(i), seq)