Hideaki Tai / msgpack-embedded

Dependents:   hello_message_pack

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers push_back.hpp Source File

push_back.hpp

00001 # /* **************************************************************************
00002 #  *                                                                          *
00003 #  *     (C) Copyright Edward Diener 2013.
00004 #  *     Distributed under the Boost Software License, Version 1.0. (See
00005 #  *     accompanying file LICENSE_1_0.txt or copy at
00006 #  *     http://www.boost.org/LICENSE_1_0.txt)
00007 #  *                                                                          *
00008 #  ************************************************************************** */
00009 #
00010 # /* See http://www.boost.org for most recent version. */
00011 #
00012 # ifndef MSGPACK_PREPROCESSOR_TUPLE_PUSH_BACK_HPP
00013 # define MSGPACK_PREPROCESSOR_TUPLE_PUSH_BACK_HPP
00014 #
00015 # include <msgpack/preprocessor/config/config.hpp>
00016 #
00017 # if MSGPACK_PP_VARIADICS
00018 #
00019 # include <msgpack/preprocessor/array/push_back.hpp>
00020 # include <msgpack/preprocessor/array/to_tuple.hpp>
00021 # include <msgpack/preprocessor/tuple/to_array.hpp>
00022 #
00023 # /* MSGPACK_PP_TUPLE_PUSH_BACK */
00024 #
00025 # define MSGPACK_PP_TUPLE_PUSH_BACK(tuple, elem) \
00026     MSGPACK_PP_ARRAY_TO_TUPLE(MSGPACK_PP_ARRAY_PUSH_BACK(MSGPACK_PP_TUPLE_TO_ARRAY(tuple), elem)) \
00027 /**/
00028 #
00029 # endif // MSGPACK_PP_VARIADICS
00030 #
00031 # endif // MSGPACK_PREPROCESSOR_TUPLE_PUSH_BACK_HPP