diff options
Diffstat (limited to 'third_party/msgpack/include/msgpack/preprocessor/list/to_seq.hpp')
-rw-r--r-- | third_party/msgpack/include/msgpack/preprocessor/list/to_seq.hpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/third_party/msgpack/include/msgpack/preprocessor/list/to_seq.hpp b/third_party/msgpack/include/msgpack/preprocessor/list/to_seq.hpp new file mode 100644 index 0000000000..a200eef744 --- /dev/null +++ b/third_party/msgpack/include/msgpack/preprocessor/list/to_seq.hpp @@ -0,0 +1,32 @@ +# /* ************************************************************************** +# * * +# * (C) Copyright Edward Diener 2011. +# * Distributed under the Boost Software License, Version 1.0. (See +# * accompanying file LICENSE_1_0.txt or copy at +# * http://www.boost.org/LICENSE_1_0.txt) +# * * +# ************************************************************************** */ +# +# /* Revised by Paul Mensonides (2011) */ +# +# /* See http://www.boost.org for most recent version. */ +# +# ifndef MSGPACK_PREPROCESSOR_LIST_TO_SEQ_HPP +# define MSGPACK_PREPROCESSOR_LIST_TO_SEQ_HPP +# +# include <msgpack/preprocessor/list/for_each.hpp> +# +# /* MSGPACK_PP_LIST_TO_SEQ */ +# +# define MSGPACK_PP_LIST_TO_SEQ(list) \ + MSGPACK_PP_LIST_FOR_EACH(MSGPACK_PP_LIST_TO_SEQ_MACRO, ~, list) \ + /**/ +# define MSGPACK_PP_LIST_TO_SEQ_MACRO(r, data, elem) (elem) +# +# /* MSGPACK_PP_LIST_TO_SEQ_R */ +# +# define MSGPACK_PP_LIST_TO_SEQ_R(r, list) \ + MSGPACK_PP_LIST_FOR_EACH_R(r, MSGPACK_PP_LIST_TO_SEQ_MACRO, ~, list) \ + /**/ +# +# endif /* MSGPACK_PREPROCESSOR_LIST_TO_SEQ_HPP */ |