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
pop_back.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_ARRAY_POP_BACK_HPP 00013 # define MSGPACK_PREPROCESSOR_ARRAY_POP_BACK_HPP 00014 # 00015 # include <msgpack/preprocessor/arithmetic/dec.hpp> 00016 # include <msgpack/preprocessor/array/elem.hpp> 00017 # include <msgpack/preprocessor/array/size.hpp> 00018 # include <msgpack/preprocessor/repetition/enum.hpp> 00019 # include <msgpack/preprocessor/repetition/deduce_z.hpp> 00020 # 00021 # /* MSGPACK_PP_ARRAY_POP_BACK */ 00022 # 00023 # define MSGPACK_PP_ARRAY_POP_BACK(array) MSGPACK_PP_ARRAY_POP_BACK_Z(MSGPACK_PP_DEDUCE_Z(), array) 00024 # 00025 # /* MSGPACK_PP_ARRAY_POP_BACK_Z */ 00026 # 00027 # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 00028 # define MSGPACK_PP_ARRAY_POP_BACK_Z(z, array) MSGPACK_PP_ARRAY_POP_BACK_I(z, MSGPACK_PP_ARRAY_SIZE(array), array) 00029 # else 00030 # define MSGPACK_PP_ARRAY_POP_BACK_Z(z, array) MSGPACK_PP_ARRAY_POP_BACK_Z_D(z, array) 00031 # define MSGPACK_PP_ARRAY_POP_BACK_Z_D(z, array) MSGPACK_PP_ARRAY_POP_BACK_I(z, MSGPACK_PP_ARRAY_SIZE(array), array) 00032 # endif 00033 # 00034 # define MSGPACK_PP_ARRAY_POP_BACK_I(z, size, array) (MSGPACK_PP_DEC(size), (MSGPACK_PP_ENUM_ ## z(MSGPACK_PP_DEC(size), MSGPACK_PP_ARRAY_POP_BACK_M, array))) 00035 # define MSGPACK_PP_ARRAY_POP_BACK_M(z, n, data) MSGPACK_PP_ARRAY_ELEM(n, data) 00036 # 00037 # endif
Generated on Tue Jul 12 2022 22:51:46 by
1.7.2