MessagePack for C++
Toggle main menu visibility
Loading...
Searching...
No Matches
msgpack
preprocessor
tuple
insert.hpp
Go to the documentation of this file.
1
#
/* **************************************************************************
2
# * *
3
# * (C) Copyright Edward Diener 2013.
4
# * Distributed under the Boost Software License, Version 1.0. (See
5
# * accompanying file LICENSE_1_0.txt or copy at
6
# * http://www.boost.org/LICENSE_1_0.txt)
7
# * *
8
# ************************************************************************** */
9
#
10
#
/* See http://www.boost.org for most recent version. */
11
#
12
# ifndef MSGPACK_PREPROCESSOR_TUPLE_INSERT_HPP
13
# define MSGPACK_PREPROCESSOR_TUPLE_INSERT_HPP
14
#
15
# include <
msgpack/preprocessor/config/config.hpp
>
16
#
17
# if MSGPACK_PP_VARIADICS
18
#
19
# include <
msgpack/preprocessor/array/insert.hpp
>
20
# include <
msgpack/preprocessor/array/to_tuple.hpp
>
21
# include <
msgpack/preprocessor/tuple/to_array.hpp
>
22
#
23
#
/* MSGPACK_PP_TUPLE_INSERT */
24
#
25
# define MSGPACK_PP_TUPLE_INSERT(tuple, i, elem) \
26
MSGPACK_PP_ARRAY_TO_TUPLE(MSGPACK_PP_ARRAY_INSERT(MSGPACK_PP_TUPLE_TO_ARRAY(tuple), i, elem)) \
27
/**/
28
#
29
#
/* MSGPACK_PP_TUPLE_INSERT_D */
30
#
31
# define MSGPACK_PP_TUPLE_INSERT_D(d, tuple, i, elem) \
32
MSGPACK_PP_ARRAY_TO_TUPLE(MSGPACK_PP_ARRAY_INSERT_D(d, MSGPACK_PP_TUPLE_TO_ARRAY(tuple), i, elem)) \
33
/**/
34
#
35
# endif
// MSGPACK_PP_VARIADICS
36
#
37
# endif
// MSGPACK_PREPROCESSOR_TUPLE_INSERT_HPP
insert.hpp
to_tuple.hpp
config.hpp
to_array.hpp
Generated by
1.17.0