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
include/msgpack/preprocessor/array/pop_back.hpp@4:bd0c06dd6e92, 2016-02-22 (annotated)
- Committer:
- hideakitai
- Date:
- Mon Feb 22 01:43:48 2016 +0000
- Revision:
- 4:bd0c06dd6e92
- Parent:
- 0:3f9dbf1e2cb0
fix throw error
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| hideakitai | 0:3f9dbf1e2cb0 | 1 | # /* ************************************************************************** |
| hideakitai | 0:3f9dbf1e2cb0 | 2 | # * * |
| hideakitai | 0:3f9dbf1e2cb0 | 3 | # * (C) Copyright Paul Mensonides 2002. |
| hideakitai | 0:3f9dbf1e2cb0 | 4 | # * Distributed under the Boost Software License, Version 1.0. (See |
| hideakitai | 0:3f9dbf1e2cb0 | 5 | # * accompanying file LICENSE_1_0.txt or copy at |
| hideakitai | 0:3f9dbf1e2cb0 | 6 | # * http://www.boost.org/LICENSE_1_0.txt) |
| hideakitai | 0:3f9dbf1e2cb0 | 7 | # * * |
| hideakitai | 0:3f9dbf1e2cb0 | 8 | # ************************************************************************** */ |
| hideakitai | 0:3f9dbf1e2cb0 | 9 | # |
| hideakitai | 0:3f9dbf1e2cb0 | 10 | # /* See http://www.boost.org for most recent version. */ |
| hideakitai | 0:3f9dbf1e2cb0 | 11 | # |
| hideakitai | 0:3f9dbf1e2cb0 | 12 | # ifndef MSGPACK_PREPROCESSOR_ARRAY_POP_BACK_HPP |
| hideakitai | 0:3f9dbf1e2cb0 | 13 | # define MSGPACK_PREPROCESSOR_ARRAY_POP_BACK_HPP |
| hideakitai | 0:3f9dbf1e2cb0 | 14 | # |
| hideakitai | 0:3f9dbf1e2cb0 | 15 | # include <msgpack/preprocessor/arithmetic/dec.hpp> |
| hideakitai | 0:3f9dbf1e2cb0 | 16 | # include <msgpack/preprocessor/array/elem.hpp> |
| hideakitai | 0:3f9dbf1e2cb0 | 17 | # include <msgpack/preprocessor/array/size.hpp> |
| hideakitai | 0:3f9dbf1e2cb0 | 18 | # include <msgpack/preprocessor/repetition/enum.hpp> |
| hideakitai | 0:3f9dbf1e2cb0 | 19 | # include <msgpack/preprocessor/repetition/deduce_z.hpp> |
| hideakitai | 0:3f9dbf1e2cb0 | 20 | # |
| hideakitai | 0:3f9dbf1e2cb0 | 21 | # /* MSGPACK_PP_ARRAY_POP_BACK */ |
| hideakitai | 0:3f9dbf1e2cb0 | 22 | # |
| hideakitai | 0:3f9dbf1e2cb0 | 23 | # define MSGPACK_PP_ARRAY_POP_BACK(array) MSGPACK_PP_ARRAY_POP_BACK_Z(MSGPACK_PP_DEDUCE_Z(), array) |
| hideakitai | 0:3f9dbf1e2cb0 | 24 | # |
| hideakitai | 0:3f9dbf1e2cb0 | 25 | # /* MSGPACK_PP_ARRAY_POP_BACK_Z */ |
| hideakitai | 0:3f9dbf1e2cb0 | 26 | # |
| hideakitai | 0:3f9dbf1e2cb0 | 27 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() |
| hideakitai | 0:3f9dbf1e2cb0 | 28 | # define MSGPACK_PP_ARRAY_POP_BACK_Z(z, array) MSGPACK_PP_ARRAY_POP_BACK_I(z, MSGPACK_PP_ARRAY_SIZE(array), array) |
| hideakitai | 0:3f9dbf1e2cb0 | 29 | # else |
| hideakitai | 0:3f9dbf1e2cb0 | 30 | # define MSGPACK_PP_ARRAY_POP_BACK_Z(z, array) MSGPACK_PP_ARRAY_POP_BACK_Z_D(z, array) |
| hideakitai | 0:3f9dbf1e2cb0 | 31 | # define MSGPACK_PP_ARRAY_POP_BACK_Z_D(z, array) MSGPACK_PP_ARRAY_POP_BACK_I(z, MSGPACK_PP_ARRAY_SIZE(array), array) |
| hideakitai | 0:3f9dbf1e2cb0 | 32 | # endif |
| hideakitai | 0:3f9dbf1e2cb0 | 33 | # |
| hideakitai | 0:3f9dbf1e2cb0 | 34 | # 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))) |
| hideakitai | 0:3f9dbf1e2cb0 | 35 | # define MSGPACK_PP_ARRAY_POP_BACK_M(z, n, data) MSGPACK_PP_ARRAY_ELEM(n, data) |
| hideakitai | 0:3f9dbf1e2cb0 | 36 | # |
| hideakitai | 0:3f9dbf1e2cb0 | 37 | # endif |