Hideaki Tai / msgpack-embedded

Dependents:   hello_message_pack

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers push_front.hpp Source File

push_front.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_FRONT_HPP
00013 # define MSGPACK_PREPROCESSOR_TUPLE_PUSH_FRONT_HPP
00014 #
00015 # include <msgpack/preprocessor/config/config.hpp>
00016 #
00017 # if MSGPACK_PP_VARIADICS
00018 #
00019 # include <msgpack/preprocessor/array/push_front.hpp>
00020 # include <msgpack/preprocessor/array/to_tuple.hpp>
00021 # include <msgpack/preprocessor/tuple/to_array.hpp>
00022 #
00023 #
00024 # /* MSGPACK_PP_TUPLE_PUSH_FRONT */
00025 #
00026 # define MSGPACK_PP_TUPLE_PUSH_FRONT(tuple, elem) \
00027     MSGPACK_PP_ARRAY_TO_TUPLE(MSGPACK_PP_ARRAY_PUSH_FRONT(MSGPACK_PP_TUPLE_TO_ARRAY(tuple), elem)) \
00028 /**/
00029 #
00030 # endif // MSGPACK_PP_VARIADICS
00031 #
00032 # endif // MSGPACK_PREPROCESSOR_TUPLE_PUSH_FRONT_HPP