Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello_message_pack
first_n.hpp
00001 # /* ************************************************************************** 00002 # * * 00003 # * (C) Copyright Paul Mensonides 2002. 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_SEQ_FIRST_N_HPP 00013 # define MSGPACK_PREPROCESSOR_SEQ_FIRST_N_HPP 00014 # 00015 # include <msgpack/preprocessor/config/config.hpp> 00016 # include <msgpack/preprocessor/control/if.hpp> 00017 # include <msgpack/preprocessor/seq/detail/split.hpp> 00018 # include <msgpack/preprocessor/tuple/eat.hpp> 00019 # include <msgpack/preprocessor/tuple/elem.hpp> 00020 # 00021 # /* MSGPACK_PP_SEQ_FIRST_N */ 00022 # 00023 # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 00024 # define MSGPACK_PP_SEQ_FIRST_N(n, seq) MSGPACK_PP_IF(n, MSGPACK_PP_TUPLE_ELEM, MSGPACK_PP_TUPLE_EAT_3)(2, 0, MSGPACK_PP_SEQ_SPLIT(n, seq (nil))) 00025 # else 00026 # define MSGPACK_PP_SEQ_FIRST_N(n, seq) MSGPACK_PP_SEQ_FIRST_N_I(n, seq) 00027 # define MSGPACK_PP_SEQ_FIRST_N_I(n, seq) MSGPACK_PP_IF(n, MSGPACK_PP_TUPLE_ELEM, MSGPACK_PP_TUPLE_EAT_3)(2, 0, MSGPACK_PP_SEQ_SPLIT(n, seq (nil))) 00028 # endif 00029 # 00030 # endif
Generated on Tue Jul 12 2022 22:51:45 by
1.7.2