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
size.hpp
00001 # /* ************************************************************************** 00002 # * * 00003 # * (C) Copyright Edward Diener 2011. * 00004 # * (C) Copyright Paul Mensonides 2011. * 00005 # * Distributed under the Boost Software License, Version 1.0. (See * 00006 # * accompanying file LICENSE_1_0.txt or copy at * 00007 # * http://www.boost.org/LICENSE_1_0.txt) * 00008 # * * 00009 # ************************************************************************** */ 00010 # 00011 # /* See http://www.boost.org for most recent version. */ 00012 # 00013 # ifndef MSGPACK_PREPROCESSOR_VARIADIC_SIZE_HPP 00014 # define MSGPACK_PREPROCESSOR_VARIADIC_SIZE_HPP 00015 # 00016 # include <msgpack/preprocessor/cat.hpp> 00017 # include <msgpack/preprocessor/config/config.hpp> 00018 # 00019 # /* MSGPACK_PP_VARIADIC_SIZE */ 00020 # 00021 # if MSGPACK_PP_VARIADICS 00022 # if MSGPACK_PP_VARIADICS_MSVC 00023 # define MSGPACK_PP_VARIADIC_SIZE(...) MSGPACK_PP_CAT(MSGPACK_PP_VARIADIC_SIZE_I(__VA_ARGS__, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1,),) 00024 # else 00025 # define MSGPACK_PP_VARIADIC_SIZE(...) MSGPACK_PP_VARIADIC_SIZE_I(__VA_ARGS__, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1,) 00026 # endif 00027 # define MSGPACK_PP_VARIADIC_SIZE_I(e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e16, e17, e18, e19, e20, e21, e22, e23, e24, e25, e26, e27, e28, e29, e30, e31, e32, e33, e34, e35, e36, e37, e38, e39, e40, e41, e42, e43, e44, e45, e46, e47, e48, e49, e50, e51, e52, e53, e54, e55, e56, e57, e58, e59, e60, e61, e62, e63, size, ...) size 00028 # endif 00029 # 00030 # endif
Generated on Tue Jul 12 2022 22:51:46 by
1.7.2